-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #458 from translate-tools/412-explore-the-manifest-v3
Use manifest v3
- Loading branch information
Showing
50 changed files
with
987 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
SHELL=/bin/bash | ||
DOCKER_COMPOSE=docker compose | ||
DOCKER_COMPOSE=docker compose | ||
ADB_DEVICE_TO_DEBUG= | ||
FAST_BUILD=off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,3 @@ debug.log | |
# Local files | ||
.env | ||
.local | ||
.ADB_DEVICE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
{ | ||
"update_url": "https://translate-tools.github.io/linguist/chromium_updates.xml" | ||
"manifest_version": 3, | ||
"update_url": "https://translate-tools.github.io/linguist/chromium_updates.xml", | ||
"permissions": ["offscreen"], | ||
"host_permissions": ["<all_urls>"], | ||
"content_security_policy": { | ||
"extension_pages": "default-src 'self' 'wasm-unsafe-eval'; connect-src *; style-src 'self' 'unsafe-inline' *" | ||
}, | ||
"sandbox": { | ||
"pages": ["offscreen-documents/translator/translator.html"] | ||
}, | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": ["contentscript.css"], | ||
"matches": ["*://*/*"] | ||
} | ||
], | ||
"background": { | ||
"service_worker": "background-script.js", | ||
"type": "module" | ||
}, | ||
"action": { | ||
"default_popup": "pages/popup/popup.html", | ||
"default_title": "__MSG_ext_name__", | ||
"default_icon": "static/logo/logo-icon-simple-dark.png" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
{ | ||
"manifest_version": 2, | ||
"permissions": ["<all_urls>"], | ||
"content_security_policy": "script-src 'self' 'unsafe-eval';", | ||
"web_accessible_resources": ["contentscript.css"], | ||
"background": { | ||
"scripts": ["background-script.js"] | ||
}, | ||
"browser_action": { | ||
"theme_icons": [ | ||
{ | ||
"light": "static/logo/logo-icon-simple-light.png", | ||
"dark": "static/logo/logo-icon-simple-dark.png", | ||
"size": 32 | ||
"size": 128 | ||
} | ||
] | ||
], | ||
"default_popup": "pages/popup/popup.html", | ||
"default_title": "__MSG_ext_name__", | ||
"default_icon": "static/logo/logo-icon-simple-dark.png" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
{ | ||
"manifest_version": 2, | ||
"permissions": ["<all_urls>"], | ||
"content_security_policy": "script-src 'self' 'unsafe-eval';", | ||
"web_accessible_resources": ["contentscript.css"], | ||
"background": { | ||
"scripts": ["background-script.js"] | ||
}, | ||
"browser_action": { | ||
"theme_icons": [ | ||
{ | ||
"light": "static/logo/logo-icon-simple-light.png", | ||
"dark": "static/logo/logo-icon-simple-dark.png", | ||
"size": 32 | ||
"size": 128 | ||
} | ||
] | ||
], | ||
"default_popup": "pages/popup/popup.html", | ||
"default_title": "__MSG_ext_name__", | ||
"default_icon": "static/logo/logo-icon-simple-dark.png" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.