mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
497 lines
14 KiB
JSON
497 lines
14 KiB
JSON
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
[
|
|
{
|
|
"namespace": "manifest",
|
|
"types": [
|
|
{
|
|
"$extend": "Permission",
|
|
"choices": [{
|
|
"type": "string",
|
|
"enum": [
|
|
"theme"
|
|
]
|
|
}]
|
|
},
|
|
{
|
|
"id": "ThemeType",
|
|
"type": "object",
|
|
"properties": {
|
|
"images": {
|
|
"type": "object",
|
|
"optional": true,
|
|
"properties": {
|
|
"additional_backgrounds": {
|
|
"type": "array",
|
|
"items": { "$ref": "ImageDataOrExtensionURL" },
|
|
"optional": true
|
|
},
|
|
"headerURL": {
|
|
"$ref": "ImageDataOrExtensionURL",
|
|
"optional": true
|
|
},
|
|
"theme_frame": {
|
|
"$ref": "ImageDataOrExtensionURL",
|
|
"optional": true
|
|
}
|
|
},
|
|
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
|
},
|
|
"colors": {
|
|
"type": "object",
|
|
"optional": true,
|
|
"properties": {
|
|
"accentcolor": {
|
|
"type": "string",
|
|
"optional": true
|
|
},
|
|
"frame": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"optional": true
|
|
},
|
|
"tab_text": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"optional": true
|
|
},
|
|
"textcolor": {
|
|
"type": "string",
|
|
"optional": true
|
|
},
|
|
"toolbar": {
|
|
"type": "string",
|
|
"optional": true
|
|
},
|
|
"toolbar_text": {
|
|
"type": "string",
|
|
"optional": true
|
|
},
|
|
"toolbar_field": {
|
|
"type": "string",
|
|
"optional": true
|
|
},
|
|
"toolbar_field_text": {
|
|
"type": "string",
|
|
"optional": true
|
|
}
|
|
},
|
|
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
|
},
|
|
"icons": {
|
|
"type": "object",
|
|
"optional": true,
|
|
"properties": {
|
|
"back": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"forward": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"reload": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"stop": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"bookmark_star": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"bookmark_menu": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"downloads": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"home": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"app_menu": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"cut": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"copy": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"paste": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"new_window": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"new_private_window": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"save_page": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"print": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"history": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"full_screen": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"find": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"options": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"addons": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"developer": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"synced_tabs": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"open_file": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"sidebars": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"subscribe": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"text_encoding": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"email_link": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"forget": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"pocket": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"getmsg": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newmsg": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"address": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"reply": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"replyall": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"replylist": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"forwarding": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"delete": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"junk": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"file": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"nextUnread": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"prevUnread": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"mark": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"tag": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"compact": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"archive": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"chat": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"nextMsg": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"prevMsg": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"QFB": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"conversation": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newcard": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newlist": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"editcard": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newim": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"send": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"spelling": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"attach": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"security": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"save": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"quote": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"buddy": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"join_chat": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"chat_accounts": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"calendar": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"tasks": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"synchronize": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newevent": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"newtask": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"editevent": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"today": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"category": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"complete": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"priority": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"saveandclose": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"attendees": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"privacy": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"status": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"freebusy": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
},
|
|
"timezones": {
|
|
"$ref": "ExtensionURL",
|
|
"optional": true
|
|
}
|
|
},
|
|
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
|
},
|
|
"properties": {
|
|
"type": "object",
|
|
"optional": true,
|
|
"properties": {
|
|
"additional_backgrounds_alignment": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"bottom", "center", "left", "right", "top",
|
|
"center bottom", "center center", "center top",
|
|
"left bottom", "left center", "left top",
|
|
"right bottom", "right center", "right top"
|
|
]
|
|
},
|
|
"optional": true
|
|
},
|
|
"additional_backgrounds_tiling": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": ["no-repeat", "repeat", "repeat-x", "repeat-y"]
|
|
},
|
|
"optional": true
|
|
}
|
|
},
|
|
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
|
}
|
|
},
|
|
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
|
},
|
|
{
|
|
"$extend": "WebExtensionManifest",
|
|
"properties": {
|
|
"theme": {
|
|
"optional": true,
|
|
"$ref": "ThemeType"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"namespace": "theme",
|
|
"description": "The theme API allows customizing of visual elements of the browser.",
|
|
"permissions": ["theme"],
|
|
"functions": [
|
|
{
|
|
"name": "update",
|
|
"type": "function",
|
|
"async": true,
|
|
"description": "Make complete or partial updates to the theme. Resolves when the update has completed.",
|
|
"parameters": [
|
|
{
|
|
"type": "integer",
|
|
"name": "windowId",
|
|
"optional": true,
|
|
"description": "The id of the window to update. No id updates all windows."
|
|
},
|
|
{
|
|
"name": "details",
|
|
"$ref": "manifest.ThemeType",
|
|
"description": "The properties of the theme to update."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"type": "function",
|
|
"async": true,
|
|
"description": "Removes the updates made to the theme.",
|
|
"parameters": [
|
|
{
|
|
"type": "integer",
|
|
"name": "windowId",
|
|
"optional": true,
|
|
"description": "The id of the window to reset. No id resets all windows."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|