mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Splits some background script functionality into separate modules: - Receiver selector handling is moved to ./SelectorManager. - Status bridge handling is moved to ./StatusManager. - Menu creation and updates are handled in ./createMenus. - Shim creation is handled in ./createShim. TypedEventTarget allows EventTarget-derived classes to export typed events. Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event. Private cast._requestSession method allows bypassing receiver selector.
63 lines
1.3 KiB
JSON
Executable File
63 lines
1.3 KiB
JSON
Executable File
{
|
|
"name": "__MSG_extensionName__"
|
|
, "description": "__MSG_extensionDescription__"
|
|
, "version": "EXTENSION_VERSION"
|
|
, "developer": {
|
|
"name": "AUTHOR"
|
|
, "url": "AUTHOR_HOMEPAGE"
|
|
}
|
|
|
|
, "applications": {
|
|
"gecko": {
|
|
"id": "EXTENSION_ID"
|
|
, "strict_min_version": "64.0"
|
|
}
|
|
}
|
|
, "browser_action": {
|
|
"theme_icons": [
|
|
{
|
|
"light": "icons/cast-default-light.svg"
|
|
, "dark": "icons/cast-default-dark.svg"
|
|
, "size": 32
|
|
}
|
|
]
|
|
}
|
|
|
|
, "background": {
|
|
"scripts": [ "main.js" ]
|
|
}
|
|
|
|
, "content_scripts": [
|
|
{
|
|
"all_frames": true
|
|
, "js": [ "shim/content.js" ]
|
|
, "matches": [ "<all_urls>" ]
|
|
, "run_at": "document_start"
|
|
}
|
|
]
|
|
|
|
, "content_security_policy": "CONTENT_SECURITY_POLICY"
|
|
, "default_locale": "en"
|
|
, "manifest_version": 2
|
|
|
|
, "options_ui": {
|
|
"page": "ui/options/index.html"
|
|
}
|
|
, "permissions": [
|
|
"downloads"
|
|
, "downloads.open"
|
|
, "menus"
|
|
, "nativeMessaging"
|
|
, "storage"
|
|
, "tabs"
|
|
, "webNavigation"
|
|
, "webRequest"
|
|
, "webRequestBlocking"
|
|
, "<all_urls>"
|
|
]
|
|
, "web_accessible_resources": [
|
|
"shim/bundle.js"
|
|
, "vendor/webcomponents-lite.js"
|
|
]
|
|
}
|