This commit is contained in:
gorhill 2017-07-21 07:48:50 -04:00
parent b0ff5396cf
commit f5ef83719c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 86 additions and 78 deletions

View File

@ -20,7 +20,7 @@
<em:targetApplication> <em:targetApplication>
<Description> <Description>
<em:id>{{ec8030f7-c20a-464f-9b0e-13a3a9e97384}}</em:id> <em:id>{{ec8030f7-c20a-464f-9b0e-13a3a9e97384}}</em:id>
<em:minVersion>52.0a1</em:minVersion> <em:minVersion>54.0</em:minVersion>
<em:maxVersion>*</em:maxVersion> <em:maxVersion>*</em:maxVersion>
</Description> </Description>
</em:targetApplication> </em:targetApplication>

View File

@ -1,40 +1,14 @@
{ {
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.9.15.101",
"applications":{ "applications":{
"gecko":{ "gecko":{
"id":"uBlock0@raymondhill.net", "id":"uBlock0@raymondhill.net",
"strict_min_version": "52.0a1" "strict_min_version":"54.0"
} }
}, },
"author":"All uBlock Origin contributors",
"commands": { "background":{
"launch-element-zapper": { "page":"background.html"
"suggested_key": {
}, },
"description": "__MSG_popupTipZapper__"
},
"launch-element-picker": {
"suggested_key": {
},
"description": "__MSG_popupTipPicker__"
},
"launch-logger": {
"suggested_key": {
},
"description": "__MSG_popupTipLog__"
}
},
"default_locale": "en",
"description": "__MSG_extShortDesc__",
"icons": {
"16": "img/icon_16.png",
"128": "img/icon_128.png"
},
"browser_action":{ "browser_action":{
"browser_style":false, "browser_style":false,
"default_icon":{ "default_icon":{
@ -44,26 +18,59 @@
"default_title":"uBlock Origin", "default_title":"uBlock Origin",
"default_popup":"popup.html" "default_popup":"popup.html"
}, },
"commands":{
"launch-element-zapper":{
"suggested_key":{
"author": "All uBlock Origin contributors", },
"background": { "description":"__MSG_popupTipZapper__"
"page": "background.html" },
"launch-element-picker":{
"suggested_key":{
},
"description":"__MSG_popupTipPicker__"
},
"launch-logger":{
"suggested_key":{
},
"description":"__MSG_popupTipLog__"
}
}, },
"content_scripts":[ "content_scripts":[
{ {
"matches": ["http://*/*", "https://*/*"], "matches":[
"js": ["js/vapi-client.js", "js/contentscript.js"], "http://*/*",
"https://*/*"
],
"js":[
"js/vapi-client.js",
"js/contentscript.js"
],
"run_at":"document_start", "run_at":"document_start",
"all_frames":true "all_frames":true
}, },
{ {
"matches": ["http://*/*", "https://*/*"], "matches":[
"js": ["js/scriptlets/subscriber.js"], "http://*/*",
"https://*/*"
],
"js":[
"js/scriptlets/subscriber.js"
],
"run_at":"document_idle", "run_at":"document_idle",
"all_frames":false "all_frames":false
} }
], ],
"minimum_chrome_version": "26.0", "default_locale":"en",
"description":"__MSG_extShortDesc__",
"icons":{
"16":"img/icon_16.png",
"128":"img/icon_128.png"
},
"manifest_version":2,
"name":"uBlock Origin",
"options_ui":{ "options_ui":{
"page":"options_ui.html" "page":"options_ui.html"
}, },
@ -77,5 +84,6 @@
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
], ],
"short_name": "uBlock₀" "short_name":"uBlock₀",
"version":"1.9.15.101"
} }

View File

@ -592,7 +592,7 @@ vAPI.tabs.onPopupUpdated = (function() {
source: 'switch', source: 'switch',
raw: 'no-popups: ' + µb.hnSwitches.z + ' true' raw: 'no-popups: ' + µb.hnSwitches.z + ' true'
}; };
return 1; result = 1;
} }
} }