mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 02:42:33 +01:00
89fd76ac39
When using paths, platform implementations of setIcon typically will fetch the resource then convert to image data internally. It is preferable for uBO to do this conversion itself as it can be done only once at launch time. With chromium-based browsers, using image data eliminate the incessant network traffic to fetch browser icons as reported in the extension's dev tool, meaning a good chunk of overhead is eliminated. Also, use optimal icon sizes, as of now both chromium and firefox prefers 16px instead of 19px, and 32px instead of 38px.
96 lines
2.0 KiB
JSON
96 lines
2.0 KiB
JSON
{
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "uBlock0@raymondhill.net",
|
|
"strict_min_version": "52.0"
|
|
}
|
|
},
|
|
"author": "All uBlock Origin contributors",
|
|
"background": {
|
|
"page": "background.html"
|
|
},
|
|
"browser_action": {
|
|
"browser_style": false,
|
|
"default_icon": {
|
|
"16": "img/icon_16.png",
|
|
"32": "img/icon_32.png"
|
|
},
|
|
"default_title": "uBlock Origin",
|
|
"default_popup": "popup.html"
|
|
},
|
|
"commands": {
|
|
"launch-element-zapper": {
|
|
"description": "__MSG_popupTipZapper__"
|
|
},
|
|
"launch-element-picker": {
|
|
"description": "__MSG_popupTipPicker__"
|
|
},
|
|
"launch-logger": {
|
|
"description": "__MSG_popupTipLog__"
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*",
|
|
"file://*/*"
|
|
],
|
|
"js": [
|
|
"/js/vapi.js",
|
|
"/js/vapi-client.js",
|
|
"/js/contentscript.js"
|
|
],
|
|
"run_at": "document_start",
|
|
"all_frames": true
|
|
},
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"js": [
|
|
"/js/scriptlets/subscriber.js"
|
|
],
|
|
"run_at": "document_idle",
|
|
"all_frames": false
|
|
}
|
|
],
|
|
"default_locale": "en",
|
|
"description": "__MSG_extShortDesc__",
|
|
"icons": {
|
|
"16": "img/ublock.svg",
|
|
"48": "img/ublock.svg",
|
|
"96": "img/ublock.svg"
|
|
},
|
|
"manifest_version": 2,
|
|
"name": "uBlock Origin",
|
|
"options_ui": {
|
|
"page": "dashboard.html",
|
|
"open_in_tab": true
|
|
},
|
|
"permissions": [
|
|
"contextMenus",
|
|
"privacy",
|
|
"storage",
|
|
"tabs",
|
|
"webNavigation",
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"<all_urls>"
|
|
],
|
|
"short_name": "uBlock₀",
|
|
"sidebar_action": {
|
|
"default_title": "__MSG_statsPageName__",
|
|
"default_panel": "logger-ui.html",
|
|
"default_icon": {
|
|
"16": "img/ublock.svg",
|
|
"48": "img/ublock.svg"
|
|
}
|
|
},
|
|
"version": "1.9.15.101",
|
|
"web_accessible_resources": [
|
|
"/web_accessible_resources/*"
|
|
]
|
|
}
|