Switch from the dummy background.html to "scripts" key
Also fix the order: messaging.js should precede storage.js for notifyAllTabs() to work
This commit is contained in:
parent
d971bbda8a
commit
23190af270
|
@ -1,5 +0,0 @@
|
|||
<html>
|
||||
<script src="storage.js"></script>
|
||||
<script src="messaging.js"></script>
|
||||
<script src="background.js"></script>
|
||||
</html>
|
|
@ -18,7 +18,7 @@
|
|||
"https://userstyles.org/"
|
||||
],
|
||||
"background": {
|
||||
"page": "background.html"
|
||||
"scripts": ["messaging.js", "storage.js", "background.js"]
|
||||
},
|
||||
"commands": {
|
||||
"openManage": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user