应用简介
功能说明:
1. 首先,需要先打开开发者工具面板 (按F12);
2. 在开发者面板里,找到"xPath Finder"选项卡,点击打开;
3. 在xPath Finder面板里手动输入xPath,或者在页面里点击鼠标右键选择"Get xPath"即可使用。
配置文件
1
| {"background":{"scripts":["background.js"]},"content_scripts":[{"css":["content\/style.css"],"js":["content\/content.js"],"matches":[""]}],"default_locale":"zh_CN","description":"\u5e2e\u52a9\u60a8\u5728\u5f00\u53d1\u8005\u5de5\u5177\u9762\u677f\u91cc\uff0c\u8f7b\u677e\u5730\u63d0\u53d6\uff0c\u7f16\u8f91\u548c\u5206\u6790XPath","devtools_page":"devtools.html","icons":{"128":"icons\/128.png","16":"icons\/16.png","48":"icons\/48.png"},"browser_action":{"default_icon":{"19":"icons\/16.png","38":"icons\/48.png"}},"manifest_version":2,"name":"XPath\u67e5\u8be2\u5de5\u5177","permissions":["contextMenus","tabs",""],"web_accessible_resources":["enable.js"],"version":"1.1.3"}
|