新增 [Cool18] 支持; 优化 [绅士仓库] 规则

This commit is contained in:
xiu2
2022-04-19 16:31:54 +08:00
parent 5e6dcfdb82
commit 98ac66f7e2
+11 -1
View File
@@ -5843,7 +5843,7 @@
},
"绅士仓库": {
"host": "/^cangku\\./",
"url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); setTimeout(`let a='.mr-auto,.navbar-brand.active,.simple-navbar';if(location.pathname.indexOf('/search/')!=-1){a='.mr-auto,.navbar-brand.active'};document.querySelectorAll(a).forEach(function (o) {o.innerHTML = o.innerHTML;})`, 1500); return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))",
"url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); if (fun.lp() != '/rank'){setTimeout(`let a='.mr-auto,.navbar-brand.active,.simple-navbar';if(location.pathname.indexOf('/search/')!=-1){a='.mr-auto,.navbar-brand.active'};document.querySelectorAll(a).forEach(function (o) {o.innerHTML = o.innerHTML;})`, 1500);} return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))",
"history": true,
"pager": {
"type": 6,
@@ -6280,5 +6280,15 @@
"pageE": "#photoMain, .wallpaper-container>a",
"replaceE": ".page"
}
},
"Cool18.com": {
"host": "www.cool18.com",
"url": "/\\/index\\.php/",
"blank": 3,
"pager": {
"nextL": "id('d_list_page')/a[text()='下一页'] | //table//a[text()='下一页']",
"pageE": "#d_list>ul, table.dc_bar2",
"replaceE": "#d_list_page, #d_list_foot, table.dc_bar"
}
}
}