Testing on/off without popout
This commit is contained in:
parent
5be8e76e78
commit
de4868b1e5
@ -38,4 +38,6 @@ browser.webRequest.onBeforeRequest.addListener(
|
||||
types: ["script"]
|
||||
},
|
||||
["blocking"]
|
||||
);
|
||||
);
|
||||
|
||||
browser.browserAction.onClicked.addListener(console.log("clicked"));
|
@ -20,8 +20,19 @@
|
||||
|
||||
"background": {
|
||||
"scripts": ["lib.js", "background.js"]
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
"browser_action": {
|
||||
"default_icon": {
|
||||
"32": "icons/icon-32.png",
|
||||
"48": "icons/icon-48.png",
|
||||
"64": "icons/icon-64.png",
|
||||
"96": "icons/icon-96.png",
|
||||
"128": "icons/icon-128.png"
|
||||
},
|
||||
"default_title": "Unpaywall"
|
||||
},
|
||||
|
||||
"permissions": [
|
||||
"<all_urls>",
|
||||
"webRequest",
|
||||
|
@ -10,7 +10,7 @@
|
||||
<div>
|
||||
<label class="switch">
|
||||
<input type="checkbox" checked>
|
||||
<span class="slider round"></span>
|
||||
<span class="slider"></span>
|
||||
</label>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user