Skip to content

Commit

Permalink
feat: add popup menu to toggle functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonVirgo committed Jan 8, 2024
1 parent 602fe28 commit 3fa4f50
Show file tree
Hide file tree
Showing 13 changed files with 539 additions and 27 deletions.
18 changes: 16 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@
"persistent": false
},
"web_accessible_resources": ["images/*"],
"permissions": ["activeTab", "storage", "https://forum.mafiascum.net/*"]
"permissions": ["activeTab", "storage", "https://forum.mafiascum.net/*"],
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"128": "/images/cog-128.png",
"512": "/images/cog-512.png"
}
}
},
"v3": {
"manifest_version": 3,
Expand All @@ -36,6 +43,13 @@
"matches": ["https://forum.mafiascum.net/*"]
}
],
"permissions": ["activeTab", "storage"]
"permissions": ["activeTab", "storage"],
"action": {
"default_popup": "popup.html",
"default_icon": {
"128": "/images/cog-128.png",
"512": "/images/cog-512.png"
}
}
}
}
Loading

0 comments on commit 3fa4f50

Please sign in to comment.