add jdsz
This commit is contained in:
1 parent
e50e68963f
commit
73c3eb2553
1 file changed
+19
-1
+19
-1
@@ -14,10 +14,28 @@ function removeElementByXpath(path) {
|
||||
}
|
||||
|
||||
const host_xpath_mapping = {
|
||||
|
||||
// 抖店
|
||||
'^https://.*\\.jinritemai\\.com/.*$':
|
||||
['//*/div[@class="y-guide"]', '//*/div[@class="auxo-modal-root"]', '//*/div[contains(@class, "index_DragControlle")]']
|
||||
['//*/div[@class="y-guide"]', '//*/div[@class="auxo-modal-root"]', '//*/div[contains(@class, "index_DragControlle")]'],
|
||||
|
||||
// 巨量千川
|
||||
'^https://.*\\.qianchuan.jinritemai\\.com/.*$':
|
||||
['//*/div[@class="ovui-popup__mask"]', '//*/div[@class="ovui-modal__wrap"]'],
|
||||
|
||||
// 京东商智
|
||||
'^https://.*\\.jd.com/.*$':
|
||||
['*/div[contains(@class, "refund-wrapper")]', '*/nav[@class="back-to-top"]']
|
||||
|
||||
// 淘宝
|
||||
|
||||
// 拼多多
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var xpaths = [];
|
||||
|
||||
for (let pattern in host_xpath_mapping) {
|
||||
|
||||
Reference in new issue
Block a user