userscript...

This commit is contained in:
Gabe Yuan
2023-08-06 21:45:05 +08:00
parent fef4d50977
commit 5e7a8cca3d
58 changed files with 56051 additions and 13111 deletions

35
docs/manifest.json Normal file
View File

@@ -0,0 +1,35 @@
{
"manifest_version": 3,
"name": "__MSG_app_name__",
"description": "__MSG_app_description__",
"version": "1.2.3",
"default_locale": "zh",
"author": "Gabe<yugang2002@gmail.com>",
"homepage_url": "https://github.com/fishjar/kiss-translator",
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"js": ["content.js"],
"matches": ["<all_urls>"]
}
],
"permissions": ["storage"],
"host_permissions": ["<all_urls>"],
"icons": {
"192": "images/logo192.png"
},
"action": {
"default_icon": {
"192": "images/logo192.png"
},
"default_title": "__MSG_app_name__",
"default_popup": "popup.html"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
}
}