Skip to content

Commit

Permalink
🔨 Required changes to get it working in Firefox …
Browse files Browse the repository at this point in the history
  • Loading branch information
bramus committed Nov 23, 2022
1 parent 6f2907f commit 2a2e17a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ chrome.action.onClicked.addListener((tab) => {
if(!tab.url.includes("chrome://")) {
chrome.scripting.executeScript({
target: { tabId: tab.id },
function: go
func: go
});
}
});
8 changes: 6 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@
"128": "images/icon-128.png"
},
"background": {
"service_worker": "background.js"
"scripts": [ "background.js"]
},
"options_ui": {
"page": "options/options.html",
"browser_style": false,
"open_in_tab": true
},
"options_page": "options/options.html",
"browser_specific_settings": {
"gecko": {
"id": "mastodon-profile-redirect@bram.us"
Expand Down

0 comments on commit 2a2e17a

Please sign in to comment.