1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 10:52:38 +01:00
uBlock/platform/firefox/manifest.json

136 lines
3.0 KiB
JSON
Raw Normal View History

{
2020-01-30 18:46:54 +01:00
"author": "Raymond Hill & contributors",
2018-04-27 17:43:35 +02:00
"background": {
"page": "background.html"
},
"browser_action": {
"browser_style": false,
"default_area": "navbar",
2018-04-27 17:43:35 +02:00
"default_icon": {
"16": "img/icon_16.png",
"32": "img/icon_32.png",
"64": "img/icon_64.png"
2018-04-27 17:43:35 +02:00
},
"default_title": "uBlock Origin",
"default_popup": "popup-fenix.html"
2018-04-27 17:43:35 +02:00
},
"browser_specific_settings": {
"gecko": {
"id": "uBlock0@raymondhill.net",
"strict_min_version": "78.0"
},
"gecko_android": {
"strict_min_version": "79.0"
}
},
2018-04-27 17:43:35 +02:00
"commands": {
"_execute_browser_action": {
},
2018-04-27 17:43:35 +02:00
"launch-element-zapper": {
"description": "__MSG_popupTipZapper__"
},
"launch-element-picker": {
"description": "__MSG_popupTipPicker__"
},
"launch-logger": {
"description": "__MSG_popupTipLog__"
2019-06-26 23:17:41 +02:00
},
"open-dashboard": {
"description": "__MSG_popupTipDashboard__"
},
"relax-blocking-mode": {
"description": "__MSG_relaxBlockingMode__"
},
"toggle-cosmetic-filtering": {
"description": "__MSG_toggleCosmeticFiltering__"
},
"toggle-javascript": {
"description": "__MSG_toggleJavascript__"
2018-04-27 17:43:35 +02:00
}
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
],
"js": [
"/js/vapi.js",
"/js/vapi-client.js",
"/js/contentscript.js"
],
"all_frames": true,
"match_about_blank": true,
"run_at": "document_start"
2018-04-27 17:43:35 +02:00
},
{
"matches": [
"https://easylist.to/*",
"https://*.fanboy.co.nz/*",
"https://filterlists.com/*",
"https://forums.lanik.us/*",
"https://github.com/*",
"https://*.github.io/*"
2018-04-27 17:43:35 +02:00
],
"js": [
"/js/scriptlets/subscriber.js"
],
"run_at": "document_idle",
"all_frames": false
},
{
"matches": [
"https://github.com/uBlockOrigin/*",
"https://ublockorigin.github.io/*",
"https://*.reddit.com/r/uBlockOrigin/*"
],
"js": [
"/js/scriptlets/updater.js"
],
"run_at": "document_idle",
"all_frames": false
2018-04-27 17:43:35 +02:00
}
],
"default_locale": "en",
"description": "__MSG_extShortDesc__",
"icons": {
"16": "img/ublock.svg",
"32": "img/ublock.svg",
2018-04-27 17:43:35 +02:00
"48": "img/ublock.svg",
"64": "img/ublock.svg",
"96": "img/ublock.svg",
"128": "img/ublock.svg"
2018-04-27 17:43:35 +02:00
},
"manifest_version": 2,
"name": "uBlock Origin",
"options_ui": {
"page": "dashboard.html",
"open_in_tab": true
},
"permissions": [
"alarms",
Add ability to uncloak CNAME records Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/780 New webext permission added: `dns`, which purpose is to allow an extension to fetch the DNS record of specific hostnames, reference documentation: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns The webext API `dns` is available in Firefox 60+ only. The new API will enable uBO to "uncloak" the actual hostname used in network requests. The ability is currently disabled by default for now -- this is only a first commit related to the above issue to allow advanced users to immediately use the new ability. Four advanced settings have been created to control the uncloaking of actual hostnames: cnameAliasList: a space-separated list of hostnames. Default value: unset => empty list. Special value: * => all hostnames. A space-separated list of hostnames => this tells uBO to "uncloak" the hostnames in the list will. cnameIgnoreList: a space-separated list of hostnames. Default value: unset => empty list. Special value: * => all hostnames. A space-separated list of hostnames => this tells uBO to NOT re-run the network request through uBO's filtering engine with the CNAME hostname. This is useful to exclude commonly used actual hostnames from being re-run through uBO's filtering engine, so as to avoid pointless overhead. cnameIgnore1stParty: boolean. Default value: true. Whether uBO should ignore to re-run a network request through the filtering engine when the CNAME hostname is 1st-party to the alias hostname. cnameMaxTTL: number of minutes. Default value: 120. This tells uBO to clear its CNAME cache after the specified time. For efficiency purpose, uBO will cache alias=>CNAME associations for reuse so as to reduce calls to `browser.dns.resolve`. All the associations will be cleared after the specified time to ensure the map does not grow too large and too ensure uBO uses up to date CNAME information.
2019-11-19 18:05:33 +01:00
"dns",
"menus",
2018-04-27 17:43:35 +02:00
"privacy",
"storage",
"tabs",
"unlimitedStorage",
2018-04-27 17:43:35 +02:00
"webNavigation",
"webRequest",
"webRequestBlocking",
"<all_urls>"
],
"short_name": "uBlock₀",
"sidebar_action": {
"default_title": "__MSG_statsPageName__",
"default_panel": "logger-ui.html",
"default_icon": "img/ublock.svg",
"open_at_install": false
2018-04-27 17:43:35 +02:00
},
"version": "1.9.15.101",
"web_accessible_resources": [
"/web_accessible_resources/*"
]
}