From ac17afabcb662afdc300893493a3760896ee38d6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[=E8=B0=B7=E6=AD=8C?= =?UTF-8?q?=E6=90=9C=E7=B4=A2]=20=E8=A7=84=E5=88=99(=E8=B0=B7=E6=AD=8C?= =?UTF-8?q?=E5=B7=B2=E5=8E=9F=E7=94=9F=E6=94=AF=E6=8C=81)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 8d84dcc44..86f449ad8 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -31,29 +31,6 @@ "replaceE": "#pageFooter" } }, - "谷歌搜索 - 手机版": { - "host": "/^www\\.google\\./", - "url": "return (fun.lp() == '/search' && !fun.indexOF('tbm=isch', 's') && (fun.indexOF('sclient=mobile', 's') || fun.isMobile()))", - "pager": { - "type": 2, - "nextL": "a[aria-label='查看更多'], a[aria-label='See more' i]", - "isHidden": true - } - }, - "谷歌搜索": { - "host": "/^www\\.google\\./", - "url": "return (fun.lp() == '/search' && !fun.indexOF('tbm=isch', 's'))", - "history": true, - "pager": { - "nextL": "#pnnext", - "pageE": "id('search')/div | //style[not(contains(text(), 'table,div,span,p{display:none}'))]", - "replaceE": "#navcnt, #rcnt div[role='navigation']", - "scrollD": 2500 - }, - "function": { - "bF": "if (!fun.indexOF('tbm=nws', 's')){pageE.forEach(function (one) {fun.getAllCSS('a[aria-label][href*=\"https://www.youtube.com/watch?v=\"]').forEach(function (one1) {let img = fun.getCSS('img', one1); if (img) img.src = `https://i.ytimg.com/vi/${one1.href.split('?v=')[1]}/mqdefault.jpg`;})});};return pageE" - } - }, "必应搜索 + 手机版": { "host": ["www.bing.com","cn.bing.com","www4.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}",