2019-08-20 04:29:53 +00:00
|
|
|
{
|
2023-08-12 19:52:12 +00:00
|
|
|
"manifest_version": 3,
|
2023-08-18 20:01:09 +00:00
|
|
|
"name": "Ruffle - Flash Emulator",
|
2023-08-18 23:36:55 +00:00
|
|
|
"short_name": "Ruffle",
|
2021-04-21 19:26:02 +00:00
|
|
|
"version": null, // Filled by Webpack.
|
2019-11-02 16:29:29 +00:00
|
|
|
"default_locale": "en",
|
2021-02-26 14:27:01 +00:00
|
|
|
"description": "__MSG_description__",
|
|
|
|
"homepage_url": "https://ruffle.rs/",
|
|
|
|
|
2023-08-12 19:55:09 +00:00
|
|
|
"action": {
|
|
|
|
"default_popup": "popup.html"
|
2019-08-25 22:44:51 +00:00
|
|
|
},
|
2021-03-01 21:12:49 +00:00
|
|
|
"background": {
|
2023-08-12 20:21:11 +00:00
|
|
|
"service_worker": "dist/background.js"
|
2021-03-01 21:12:49 +00:00
|
|
|
},
|
2019-08-20 04:29:53 +00:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
2019-08-22 04:06:30 +00:00
|
|
|
"matches": ["<all_urls>"],
|
2022-06-03 00:24:35 +00:00
|
|
|
"exclude_matches": [
|
|
|
|
"https://sso.godaddy.com/*",
|
2022-10-02 02:38:51 +00:00
|
|
|
"https://authentication.td.com/*",
|
|
|
|
"https://*.twitch.tv/*",
|
2023-08-09 03:14:51 +00:00
|
|
|
"https://www.tuxedocomputers.com/*",
|
|
|
|
"https://*.taobao.com/*",
|
2024-05-01 18:01:35 +00:00
|
|
|
"https://*.time4learning.com/*",
|
|
|
|
"https://*.edgenuity.com/*",
|
2022-06-03 00:24:35 +00:00
|
|
|
],
|
2021-04-15 19:30:24 +00:00
|
|
|
"js": ["dist/content.js"],
|
2020-04-30 13:06:08 +00:00
|
|
|
"all_frames": true,
|
2021-04-21 19:26:02 +00:00
|
|
|
"run_at": "document_start",
|
2024-06-21 15:05:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matches": ["https://www.4399.com/flash/*"],
|
|
|
|
"js": ["dist/siteContentScript4399.js"],
|
|
|
|
"world": "MAIN",
|
|
|
|
"run_at": "document_start",
|
2019-08-20 04:29:53 +00:00
|
|
|
}
|
2019-08-22 04:06:30 +00:00
|
|
|
],
|
2022-01-12 00:24:23 +00:00
|
|
|
|
2023-08-12 19:57:05 +00:00
|
|
|
"content_security_policy": {
|
2023-08-12 20:05:59 +00:00
|
|
|
extension_pages: "default-src 'self'; script-src 'wasm-unsafe-eval' 'self'; style-src 'unsafe-inline'; connect-src *; media-src *; img-src data:;"
|
2023-08-12 19:57:05 +00:00
|
|
|
},
|
2022-01-12 00:24:23 +00:00
|
|
|
|
2021-02-26 14:27:01 +00:00
|
|
|
"icons": {
|
|
|
|
"16": "images/icon16.png",
|
|
|
|
"32": "images/icon32.png",
|
|
|
|
"48": "images/icon48.png",
|
|
|
|
"128": "images/icon128.png",
|
2021-04-21 19:26:02 +00:00
|
|
|
"180": "images/icon180.png",
|
2019-11-01 22:21:50 +00:00
|
|
|
},
|
2020-05-28 17:19:41 +00:00
|
|
|
"options_ui": {
|
2021-02-14 11:30:16 +00:00
|
|
|
"page": "options.html",
|
2021-04-21 19:26:02 +00:00
|
|
|
"open_in_tab": true,
|
2021-02-26 14:27:01 +00:00
|
|
|
},
|
2023-08-18 22:37:48 +00:00
|
|
|
"host_permissions": ["<all_urls>"], // To allow script injecting + the internal player to bypass CORS
|
2021-03-01 21:12:49 +00:00
|
|
|
"permissions": [
|
2023-05-13 21:29:04 +00:00
|
|
|
"storage",
|
2023-08-13 21:07:58 +00:00
|
|
|
"scripting",
|
2024-06-21 15:05:53 +00:00
|
|
|
"declarativeNetRequest",
|
2021-03-01 21:12:49 +00:00
|
|
|
],
|
2023-08-12 20:00:34 +00:00
|
|
|
"web_accessible_resources": [{
|
|
|
|
"resources": ["*"],
|
|
|
|
"matches": ["<all_urls>"],
|
|
|
|
}],
|
2024-06-21 15:05:53 +00:00
|
|
|
"declarative_net_request": {
|
|
|
|
"rule_resources": [{
|
|
|
|
"id": "4399_rules",
|
|
|
|
"enabled": true,
|
|
|
|
"path": "dist/4399_rules.json"
|
|
|
|
}]
|
|
|
|
},
|
2023-08-12 20:07:36 +00:00
|
|
|
|
|
|
|
// Chrome runs the extension in a single shared process by default,
|
|
|
|
// which prevents extension pages from loading in Incognito tabs
|
|
|
|
"incognito": "split",
|
2020-04-02 13:53:07 +00:00
|
|
|
}
|