avatar

Bytedance-Track

应用简介

使用方式:
在扩展弹窗页填入你希望定义转化路径的页面地址, 比如 m.so.com , 保存后扩展将会弹出一个新窗口, 在新窗口的元素右击即可得到该元素的路径.

注意: 扩展将会模拟移动端浏览器的方式请求页面, 因此所填页面地址应该是移动端页面的地址. 扩展会严格匹配所填地址和页面打开后的地址, 如果所填页面地址存在302或其他跳转, 插件不会工作。

配置文件

Code
1
{"name":"Bytedance-Track","version":"0.3.0.1","manifest_version":2,"description":"\u83b7\u53d6Xpath","homepage_url":"https:\/\/ad.toutiao.com\/adver\/","icons":{"16":"imgs\/icon16.png","48":"imgs\/icon48.png","128":"imgs\/icon128.png"},"options_page":"options.html","background":{"scripts":["background.js"]},"browser_action":{"default_icon":"imgs\/icon16.png","default_popup":"popup.html"},"web_accessible_resources":["fonts\/*.*","imgs\/*.png","style\/*.css","script\/*.js","tmpl\/*.tmpl"],"content_scripts":[{"matches":[""],"css":["content.css"],"js":["lib\/jquery.js","lib\/clipboard.min.js","contentscript.js"],"run_at":"document_start"}],"permissions":["webRequest","webRequestBlocking","","tabs","storage","cookies","activeTab"]}
文章作者: Shaven
文章链接: http://soxiazai.com/2017/04/07/hpjbhphogdkoacmedpiefgophjdniipp/
下载(右键另存为)