ruffle/web/packages/extension/manifest.json5

64 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-08-20 04:29:53 +00:00
{
"manifest_version": 3,
"name": "Ruffle - Flash Emulator",
2023-08-18 23:36:55 +00:00
"short_name": "Ruffle",
"version": null, // Filled by Webpack.
"default_locale": "en",
2021-02-26 14:27:01 +00:00
"description": "__MSG_description__",
"homepage_url": "https://ruffle.rs/",
"action": {
"default_popup": "popup.html"
2019-08-25 22:44:51 +00:00
},
2019-08-20 04:29:53 +00:00
"content_scripts": [
{
"matches": ["<all_urls>"],
"exclude_matches": [
"https://sso.godaddy.com/*",
"https://authentication.td.com/*",
"https://*.twitch.tv/*",
"https://www.tuxedocomputers.com/*",
"https://*.taobao.com/*",
"https://*.time4learning.com/*",
"https://*.edgenuity.com/*",
],
2021-04-15 19:30:24 +00:00
"js": ["dist/content.js"],
2020-04-30 13:06:08 +00:00
"all_frames": true,
"run_at": "document_start",
},
],
"content_security_policy": {
extension_pages: "default-src 'self'; script-src 'wasm-unsafe-eval' 'self'; style-src 'unsafe-inline'; connect-src *; media-src *; img-src data:;"
},
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",
"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",
"open_in_tab": true,
2021-02-26 14:27:01 +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": [
"storage",
"scripting",
"declarativeNetRequestWithHostAccess",
2021-03-01 21:12:49 +00:00
],
"web_accessible_resources": [{
"resources": ["*"],
"matches": ["<all_urls>"],
}],
"declarative_net_request": {
"rule_resources": [{
"id": "4399_rules",
"enabled": true,
"path": "dist/4399_rules.json"
}]
},
}