From 578c3dd396f57e4d6e41b49a1933eb20c87f7539 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 8 Aug 2025 21:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E8=B0=B7=E6=AD=8C?= =?UTF-8?q?=E6=90=9C=E7=B4=A2]=E3=80=81[=E8=B0=B7=E6=AD=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=20-=20=E6=89=8B=E6=9C=BA=E7=89=88]=20=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 9983eb6..d8f6745 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -35,14 +35,9 @@ "host": "/^www\\.google\\./", "url": "return (fun.lp() == '/search' && (!fun.indexOF('tbm=','s') || (fun.indexOF('tbm=nws','s') || fun.indexOF('tbm=vid','s') || fun.indexOF('tbm=bks','s'))) && (fun.indexOF('sclient=mobile','s') || fun.isMobile()))", "pager": { - "nextL": "footer>div:first-child a[aria-label]", - "pageE": "id('main')/div[position()>1][position()div", + "isHidden": true } }, "谷歌搜索": { @@ -51,13 +46,10 @@ "history": true, "pager": { "nextL": "#pnnext,footer>div:first-child a[aria-label]", - "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(),'table,div,span,p{display:none}'))] | //body/script[@nonce][not(@src)][starts-with(text(),'(function(){var s=') or starts-with(text(),'(function(){google.ldi')]", + "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(),'table,div,span,p{display:none}'))] | //body//script[@nonce][not(@src)][contains(text(),'_setImagesSrc')]", "replaceE": "#navcnt,#rcnt div[role='navigation'],#botstuff div[role='navigation'],#main>footer>div:first-child", "scriptT": 2, "scrollD": 2500 - }, - "function": { - "bF": "fun.getAllCSS('#search img[id^=dimg],#search img[id^=rimg],#rso img[id^=dimg],#rso img[id^=rimg]').forEach(function (img) {img.id = 'old_'+img.id;}); if(!fun.indexOF('tbm=vid','s') && fun.indexOF('tbm=','s')){return pageE}else{pageE.forEach(function (img) {fun.getAllCSS('img[id^=dimg]:not([data-atf])',img).forEach(function (img1) {img1.setAttribute('data-atf','1');})}); return pageE}" } }, "必应搜索 + 手机版": {