Skip to content

Commit

Permalink
Make firefox min version 126 (#1245)
Browse files Browse the repository at this point in the history
In Firefox 125 and earlier, captureVisibleTab required `<all_urls>`.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab
  • Loading branch information
mymindstorm authored Jul 29, 2024
1 parent 3ea0d9b commit 25d32e4
Showing 1 changed file with 51 additions and 61 deletions.
112 changes: 51 additions & 61 deletions manifests/manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,56 @@
{
"manifest_version": 3,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "7.0.0",
"default_locale": "en",
"description": "__MSG_extDesc__",
"browser_specific_settings": {
"gecko": {
"id": "authenticator@mymindstorm",
"strict_min_version": "109.0"
}
},
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"action": {
"default_icon": {
"19": "images/icon19.png",
"38": "images/icon38.png"
},
"default_title": "__MSG_extShortName__",
"default_popup": "view/popup.html"
},
"background": {
"scripts": [
"dist/background.js"
]
},
"commands": {
"_execute_browser_action": {},
"scan-qr": {
"description": "Scan a QR code"
},
"autofill": {
"description": "Autofill the matched code"
}
"manifest_version": 3,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "7.0.0",
"default_locale": "en",
"description": "__MSG_extDesc__",
"browser_specific_settings": {
"gecko": {
"id": "authenticator@mymindstorm",
"strict_min_version": "126.0"
}
},
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"action": {
"default_icon": {
"19": "images/icon19.png",
"38": "images/icon38.png"
},
"options_ui": {
"page": "view/options.html",
"open_in_tab": false
"default_title": "__MSG_extShortName__",
"default_popup": "view/popup.html"
},
"background": {
"scripts": ["dist/background.js"]
},
"commands": {
"_execute_browser_action": {},
"scan-qr": {
"description": "Scan a QR code"
},
"permissions": [
"activeTab",
"storage",
"identity",
"alarms",
"scripting"
],
"optional_permissions": [
"clipboardWrite"
],
"host_permissions": [
"https://www.google.com/",
"https://*.dropboxapi.com/*",
"https://www.googleapis.com/*",
"https://accounts.google.com/o/oauth2/revoke",
"https://graph.microsoft.com/me/*",
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; font-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; connect-src https://www.google.com/ https://*.dropboxapi.com https://www.googleapis.com/ https://accounts.google.com/o/oauth2/revoke https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/; default-src 'none'"
"autofill": {
"description": "Autofill the matched code"
}
},
"options_ui": {
"page": "view/options.html",
"open_in_tab": false
},
"permissions": ["activeTab", "storage", "identity", "alarms", "scripting"],
"optional_permissions": ["clipboardWrite"],
"host_permissions": [
"https://www.google.com/",
"https://*.dropboxapi.com/*",
"https://www.googleapis.com/*",
"https://accounts.google.com/o/oauth2/revoke",
"https://graph.microsoft.com/me/*",
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; font-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; connect-src https://www.google.com/ https://*.dropboxapi.com https://www.googleapis.com/ https://accounts.google.com/o/oauth2/revoke https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/; default-src 'none'"
}
}

0 comments on commit 25d32e4

Please sign in to comment.