xpath selector
根据页面元素获取css路径,xpath路径的插件
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 3,
"name": "xpath selector",
"description": "æ ¹æ®é¡µé¢å…ƒç´ 获å–css路径,xpath路径的æ’件",
"version": "1.0.8",
"action": {
"default_title": "å…ƒç´ æœç´¢",
"default_icon": {
"16": "assets/icon16.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
}
},
"host_permissions": [
"*://*/*",
"file:///*"
],
"permissions": [
"activeTab",
"scripting",
"declarativeContent"
],
"background": {
"service_worker": "background.js"
},
"icons": {
"16": "assets/icon16.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
},
"content_scripts": [
{
"matches": [
"https://*/*",
"http://*/*",
"*://*/*",
"file:///*"
],
"css": [
"css/content.css"
],
"run_at": "document_start",
"js": [
"js/jquery.js",
"js/content.js"
]
}
],
"web_accessible_resources": [
{
"resources": [
"iframe.html"
],
"matches": [
"*://*/*",
"file:///*"
]
},
{
"resources": [
"js/*"
],
"matches": [
"*://*/*",
"file:///*"
]
},
{
"resources": [
"css/*"
],
"matches": [
"*://*/*",
"file:///*"
]
},
{
"resources": [
"assets/*"
],
"matches": [
"*://*/*",
"file:///*"
]
}
],
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}