Skip to content

Commit 25d32e4

Browse files
authored
Make firefox min version 126 (#1245)
In Firefox 125 and earlier, captureVisibleTab required `<all_urls>`. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab
1 parent 3ea0d9b commit 25d32e4

File tree

1 file changed

+51
-61
lines changed

1 file changed

+51
-61
lines changed

manifests/manifest-firefox.json

Lines changed: 51 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,56 @@
11
{
2-
"manifest_version": 3,
3-
"name": "__MSG_extName__",
4-
"short_name": "__MSG_extShortName__",
5-
"version": "7.0.0",
6-
"default_locale": "en",
7-
"description": "__MSG_extDesc__",
8-
"browser_specific_settings": {
9-
"gecko": {
10-
"id": "authenticator@mymindstorm",
11-
"strict_min_version": "109.0"
12-
}
13-
},
14-
"icons": {
15-
"16": "images/icon16.png",
16-
"48": "images/icon48.png",
17-
"128": "images/icon128.png"
18-
},
19-
"action": {
20-
"default_icon": {
21-
"19": "images/icon19.png",
22-
"38": "images/icon38.png"
23-
},
24-
"default_title": "__MSG_extShortName__",
25-
"default_popup": "view/popup.html"
26-
},
27-
"background": {
28-
"scripts": [
29-
"dist/background.js"
30-
]
31-
},
32-
"commands": {
33-
"_execute_browser_action": {},
34-
"scan-qr": {
35-
"description": "Scan a QR code"
36-
},
37-
"autofill": {
38-
"description": "Autofill the matched code"
39-
}
2+
"manifest_version": 3,
3+
"name": "__MSG_extName__",
4+
"short_name": "__MSG_extShortName__",
5+
"version": "7.0.0",
6+
"default_locale": "en",
7+
"description": "__MSG_extDesc__",
8+
"browser_specific_settings": {
9+
"gecko": {
10+
"id": "authenticator@mymindstorm",
11+
"strict_min_version": "126.0"
12+
}
13+
},
14+
"icons": {
15+
"16": "images/icon16.png",
16+
"48": "images/icon48.png",
17+
"128": "images/icon128.png"
18+
},
19+
"action": {
20+
"default_icon": {
21+
"19": "images/icon19.png",
22+
"38": "images/icon38.png"
4023
},
41-
"options_ui": {
42-
"page": "view/options.html",
43-
"open_in_tab": false
24+
"default_title": "__MSG_extShortName__",
25+
"default_popup": "view/popup.html"
26+
},
27+
"background": {
28+
"scripts": ["dist/background.js"]
29+
},
30+
"commands": {
31+
"_execute_browser_action": {},
32+
"scan-qr": {
33+
"description": "Scan a QR code"
4434
},
45-
"permissions": [
46-
"activeTab",
47-
"storage",
48-
"identity",
49-
"alarms",
50-
"scripting"
51-
],
52-
"optional_permissions": [
53-
"clipboardWrite"
54-
],
55-
"host_permissions": [
56-
"https://www.google.com/",
57-
"https://*.dropboxapi.com/*",
58-
"https://www.googleapis.com/*",
59-
"https://accounts.google.com/o/oauth2/revoke",
60-
"https://graph.microsoft.com/me/*",
61-
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
62-
],
63-
"content_security_policy": {
64-
"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'"
35+
"autofill": {
36+
"description": "Autofill the matched code"
6537
}
38+
},
39+
"options_ui": {
40+
"page": "view/options.html",
41+
"open_in_tab": false
42+
},
43+
"permissions": ["activeTab", "storage", "identity", "alarms", "scripting"],
44+
"optional_permissions": ["clipboardWrite"],
45+
"host_permissions": [
46+
"https://www.google.com/",
47+
"https://*.dropboxapi.com/*",
48+
"https://www.googleapis.com/*",
49+
"https://accounts.google.com/o/oauth2/revoke",
50+
"https://graph.microsoft.com/me/*",
51+
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
52+
],
53+
"content_security_policy": {
54+
"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'"
55+
}
6656
}

0 commit comments

Comments
 (0)