rutoxpath/src/chrome/manifest.json

67 lines
1.6 KiB
JSON

{
"update_url": "https://gitea.kiki.kim/HA/rutoxpath/release",
"name": "RXPath Finder",
"short_name": "RXPath",
"manifest_version": 2,
"version": "1.0.1",
"content_security_policy": "script-src 'self'; object-src 'self'",
"description": "基于Rūto-XPath Finder 7.0.1版本的二次开发,仅个人学习使用。",
"homepage_url": "https://gitea.kiki.kim/HA/rutoxpath",
"commands": {
"_execute_browser_action": {
"suggested_key": {
"windows": "Alt+R",
"mac": "Alt+R",
"linux": "Alt+R",
"default": "Alt+R"
},
"description": "Get different types of XPath in a click"
}
},
"content_scripts": [
{
"run_at": "document_start",
"match_about_blank": true,
"all_frames": true,
"matches": [
"<all_urls>"
],
"js": [
"content/content.js",
"content/jquery.min.js",
"content/getMethodOrVarText.js",
"content/handleTable.js",
"content/getCss.js",
"content/search.js",
"content/record.js",
"content/angularLocators.js"
],
"css": [
"content/style.css"
]
}
],
"permissions": [
"contextMenus",
"storage",
"notifications",
"downloads",
"downloads.open"
],
"background": {
"page": "background.html",
"persistent": true
},
"icons": {
"16": "logo/16.png",
"48": "logo/48.png",
"128": "logo/128.png"
},
"browser_action": {
"default_title": "RXPath",
"default_popup": "popup.html"
},
"options_page": "option.html",
"offline_enabled": true
}