mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
6d9bef28ff
Avoid using updateContentScripts() as it suffers from an unexpected behavior, causing injected content scripts to lose proper order at injection time. The order in which content scripts are injected is key for uBOL content scripts. Potential out of order injection was causing cosmetic filtering to be broken. Use actual storage API to persist data across service worker wake-ups and browser launches. uBOL was trying to avoid using storage API, at the cost of somewhat hacky code (using DNR API to persist settings). Make use of session storage if available, to speed up initialization of waking up the service worker (which at this point is necessary to properly implement cosmetic filtering).
50 lines
1 KiB
JSON
50 lines
1 KiB
JSON
{
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "img/icon_16.png",
|
|
"32": "img/icon_32.png",
|
|
"64": "img/icon_64.png"
|
|
},
|
|
"default_popup": "popup.html"
|
|
},
|
|
"author": "Raymond Hill",
|
|
"background": {
|
|
"scripts": [ "/js/background.js" ],
|
|
"type": "module"
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "uBOLite@raymondhill.net",
|
|
"strict_min_version": "113"
|
|
}
|
|
},
|
|
"declarative_net_request": {
|
|
"rule_resources": [
|
|
]
|
|
},
|
|
"default_locale": "en",
|
|
"description": "__MSG_extShortDesc__",
|
|
"icons": {
|
|
"16": "img/icon_16.png",
|
|
"32": "img/icon_32.png",
|
|
"64": "img/icon_64.png",
|
|
"128": "img/icon_128.png"
|
|
},
|
|
"manifest_version": 3,
|
|
"name": "__MSG_extName__",
|
|
"options_ui": {
|
|
"page": "dashboard.html"
|
|
},
|
|
"optional_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"permissions": [
|
|
"activeTab",
|
|
"declarativeNetRequest",
|
|
"scripting",
|
|
"storage"
|
|
],
|
|
"short_name": "uBO Lite",
|
|
"version": "0.1",
|
|
"web_accessible_resources": []
|
|
}
|