Compare commits

..

1 Enmetoj

Author SHA1 Message Date
Jaidyn Ann cb05a02a3c Open settings-page in new tab, from toolbar button 2024-03-09 01:40:14 -06:00
4 changed files with 5 additions and 5 deletions

View File

@ -39,4 +39,4 @@ native-uninstall:
.PHONY: xpi .PHONY: xpi
xpi: xpi:
@rm -f shellfox.xpi && zip -r shellfox.xpi background.js manifest.json _locales html img/shellfox*.png img/shellfox.svg @rm -f shellfox.xpi && zip -r shellfox.xpi background.js manifest.json _locales html img/shellfox*.png

View File

@ -271,7 +271,7 @@ browser.menus.onClicked.addListener((info, tab) => {
} }
}); });
browser.browserAction.onClicked.addListener(() => { browser.action.onClicked.addListener(() => {
openNewTab("/html/options.html"); openNewTab("/html/options.html");
}); });

View File

@ -9,7 +9,7 @@
<body> <body>
<span> <span>
<img style="display: inline; width: 3em;" src="../img/shellfox.svg"> <img style="display: inline; width: 3em;" src="../img/shellfox.png">
<h1 style="display: inline;" id="errorTitle">Shellfox failed to run command</h1> <h1 style="display: inline;" id="errorTitle">Shellfox failed to run command</h1>
</span> </span>

View File

@ -1,5 +1,5 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"name": "__MSG_extensionName__", "name": "__MSG_extensionName__",
"version": "0.12", "version": "0.12",
@ -25,7 +25,7 @@
"default_title": "__MSG_pageActionName__" "default_title": "__MSG_pageActionName__"
}, },
"browser_action": { "action": {
}, },
"permissions": [ "permissions": [