66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_extensionName__",
|
|
"description": "__MSG_extensionDescription__",
|
|
"default_locale": "en",
|
|
"icons": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"48": "icons/icon-48.png",
|
|
"128": "icons/icon-128.png"
|
|
},
|
|
"permissions": ["activeTab", "contextMenus", "scripting", "storage"],
|
|
"optional_host_permissions": ["https://*/*", "http://*/*", "http://localhost/*", "http://127.0.0.1/*"],
|
|
"action": {
|
|
"default_title": "__MSG_actionTitle__",
|
|
"default_icon": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png"
|
|
},
|
|
"default_popup": "popup.html"
|
|
},
|
|
"options_page": "options.html",
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://x.com/*",
|
|
"https://www.x.com/*",
|
|
"https://twitter.com/*",
|
|
"https://www.twitter.com/*",
|
|
"https://mobile.twitter.com/*"
|
|
],
|
|
"js": ["assets/tweet-target.js"],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://www.xiaohongshu.com/*",
|
|
"https://xiaohongshu.com/*"
|
|
],
|
|
"js": ["assets/xhs-target.js"],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://www.zhihu.com/*",
|
|
"https://zhihu.com/*",
|
|
"https://zhuanlan.zhihu.com/*",
|
|
"https://www.zhuanlan.zhihu.com/*"
|
|
],
|
|
"js": ["assets/zhihu-target.js"],
|
|
"run_at": "document_start"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://reddit.com/*",
|
|
"https://www.reddit.com/*",
|
|
"https://old.reddit.com/*",
|
|
"https://new.reddit.com/*",
|
|
"https://sh.reddit.com/*"
|
|
],
|
|
"js": ["assets/reddit-target.js"],
|
|
"run_at": "document_start"
|
|
}
|
|
]
|
|
}
|