mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-17 16:02: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.
90 lines
1.8 KiB
JSON
90 lines
1.8 KiB
JSON
{
|
|
"author": "All uBlock Origin contributors",
|
|
"background": {
|
|
"page": "background.html"
|
|
},
|
|
"browser_action": {
|
|
"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://*/*"
|
|
],
|
|
"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/icon_16.png",
|
|
"32": "img/icon_32.png",
|
|
"64": "img/icon_64.png",
|
|
"128": "img/icon_128.png"
|
|
},
|
|
"incognito": "split",
|
|
"manifest_version": 2,
|
|
"minimum_chrome_version": "45.0",
|
|
"name": "uBlock Origin",
|
|
"optional_permissions": [
|
|
"file:///*"
|
|
],
|
|
"options_page": "dashboard.html",
|
|
"options_ui": {
|
|
"page": "options_ui.html"
|
|
},
|
|
"permissions": [
|
|
"contextMenus",
|
|
"privacy",
|
|
"storage",
|
|
"tabs",
|
|
"unlimitedStorage",
|
|
"webNavigation",
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"<all_urls>"
|
|
],
|
|
"short_name": "uBlock₀",
|
|
"storage": {
|
|
"managed_schema": "managed_storage.json"
|
|
},
|
|
"version": "1.15.11.0",
|
|
"web_accessible_resources": [
|
|
"/web_accessible_resources/*"
|
|
]
|
|
}
|