Skip to content

Commit

Permalink
consolidating firefox and chrome and opera versions, moving back to '…
Browse files Browse the repository at this point in the history
…main'
  • Loading branch information
evandor committed Aug 31, 2024
1 parent 67b815d commit ee25777
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"private": true,
"scripts": {
"dev": "quasar dev -m bex",
"dev-firefox": "mv src-bex/manifest.json src-bex/manifest.tmp && cp src-bex/manifest-firefox.json src-bex/manifest.json && quasar dev -m bex && mv src-bex/manifest.tmp src-bex/manifest.json",
"dev-edge": "mv src-bex/manifest.json src-bex/manifest.tmp && cp src-bex/manifest-edge.json src-bex/manifest.json && quasar dev -m bex && mv src-bex/manifest.tmp src-bex/manifest.json",
"dev-firefox": "scripts/dev.sh firefox",
"dev-edge": "scripts/dev.sh edge",
"dev-opera": "scripts/dev.sh opera",
"dev spa (only for testing)": "quasar dev -m spa",
"dev pwa": "quasar dev -m pwa",
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -eq 0 ]
fi

if [ "$1" = "chrome" ]; then
manifest="manifest.json"
manifest="manifest-chrome.json"
elif [ "$1" = "firefox" ]; then
manifest="manifest-firefox.json"
elif [ "$1" = "edge" ]; then
Expand Down
90 changes: 90 additions & 0 deletions src-bex/manifest-edge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"manifest_version": 3,
"icons": {
"16": "icons/icon-16x16.png",
"48": "icons/icon-48x48.png",
"128": "icons/icon-128x128.png"
},
"permissions": [
"storage",
"tabs",
"activeTab",
"alarms",
"scripting",
"sidePanel",
"contextMenus",
"bookmarks"
],
"optional_permissions": [
"pageCapture",
"notifications",
"webRequest",
"tabGroups"
],
"host_permissions": [
"<all_urls>",
"*://*/*"
],
"sidebar_action": {
"default_icon": "icons/icon-48x48.png",
"default_title": "tabsets.bet - Better Bookmarks",
"default_panel": "www/sidepanel.html"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"*://*/*"
],
"js": [
"tabsets-content-script.js"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
},
"web_accessible_resources": [
{
"resources": [
"*"
],
"matches": [
"*://*/*"
]
}
],
"omnibox": { "keyword": "ts" },
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Ctrl+B",
"mac": "Command+B"
}
},
"search": {
"suggested_key": {
"default": "Ctrl+K",
"mac": "Command+K"
},
"description": "Open Search Box"
},
"tabHistoryBack": {
"suggested_key": {
"default": "Alt+Left",
"mac": "Alt+Left"
},
"description": "Open last open tab"
},
"tabHistoryForward": {
"suggested_key": {
"default": "Alt+Right",
"mac": "Alt+Right"
},
"description": "Forward to next tab (if available)"
}
},
"options_page": "www/index.html#/mainpanel/settings"
}

0 comments on commit ee25777

Please sign in to comment.