Fix WebExtensions options

main
Elbert Alias 8 years ago
parent cbd4286551
commit 7e2449ca19

@ -26,8 +26,8 @@
"default_popup": "popup.html" "default_popup": "popup.html"
}, },
"background": { "background": {
"page": "background.html", "page": "background.html"
"persistent": true
}, },
"content_scripts": [ "content_scripts": [
{ {
@ -47,7 +47,8 @@
"https://*/*" "https://*/*"
], ],
"js": [ "js": [
"js/browser-polyfill.js" "js/browser-polyfill.js",
"js/iframe.js"
], ],
"run_at": "document_start", "run_at": "document_start",
"all_frames": true "all_frames": true
@ -57,6 +58,10 @@
"js/inject.js" "js/inject.js"
], ],
"options_page": "options.html", "options_page": "options.html",
"options_ui": {
"page": "options.html",
"open_in_tab": false
},
"permissions": [ "permissions": [
"tabs", "tabs",
"webRequest", "webRequest",
@ -64,9 +69,6 @@
"http://*/*", "http://*/*",
"https://*/*" "https://*/*"
], ],
"content_security_policy": "script-src 'self'; object-src 'self'", "content_security_policy": "script-src 'self'; object-src 'self'"
"-ms-preload": {
"backgroundScript": "js/ms_background_scripts_api_bridge.js",
"contentScript": "js/ms_content_scripts_api_bridge.js"
}
} }

@ -29,7 +29,7 @@
<p> <p>
<label for="option-upgrade-message"><input id="option-upgrade-message" type="checkbox"> <span data-i18n="optionUpgradeMessage">Tell me about upgrades</span></label> <label for="option-upgrade-message"><input id="option-upgrade-message" type="checkbox"> <span data-i18n="optionUpgradeMessage">Tell me about upgrades</span></label>
<label for="option-change-icon"><input id="option-change-icon" type="checkbox"> <span data-i18n="optionChangeIcon">Change the icon in the toolbar to the first detected application instead of the Wappalyzer logo</span></label> <label for="option-dynamic-icon"><input id="option-dynamic-icon" type="checkbox"> <span data-i18n="optionDynamicIcon">Use application icon instead of Wappalyzer logo</span></label>
<label for="option-tracking"><input id="option-tracking" type="checkbox"> <span data-i18n="optionTracking">Anonymously send reports on detected applications to wappalyzer.com for research</span></label> <label for="option-tracking"><input id="option-tracking" type="checkbox"> <span data-i18n="optionTracking">Anonymously send reports on detected applications to wappalyzer.com for research</span></label>
</p> </p>

Loading…
Cancel
Save