From 301b09762f27848b5a079c75b92b382dd3d0dd48 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 15 Mar 2023 14:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Ecosia=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2]=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 2cfeac6..f50972d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -23,7 +23,7 @@ }, "百度站内搜索": { "host": "zhannei.baidu.com", - "url": "return (fun.lp() == '/cse/site')", + "url": "/^\\/cse\\/site/", "history": true, "pager": { "nextL": "a.pager-next-foot", @@ -99,7 +99,7 @@ }, "搜狗微信 - 搜索": { "host": "weixin.sogou.com", - "url": "return (fun.lp() == '/weixin')", + "url": "/^\\/weixin/", "history": true, "pager": { "nextL": "#sogou_next", @@ -119,7 +119,7 @@ }, "头条搜索": { "host": "so.toutiao.com", - "url": "return (fun.lp() == '/search')", + "url": "/^\\/search/", "history": true, "pager": { "nextL": "//div[contains(@class, '-pagination')]/a[string()='下一页']", @@ -215,7 +215,7 @@ }, "Yandex 搜索": { "host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"], - "url": "return (fun.lp() == '/search/')", + "url": "/^\\/search\\//", "history": true, "pager": { "nextL": "a.Pager-Item_type_next, a.pager__item_kind_next", @@ -225,7 +225,7 @@ }, "Yandex 搜索 - 视频": { "host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"], - "url": "return (fun.lp() == '/video/search')", + "url": "/^\\/video\\/search/", "hiddenPN": true, "pager": { "type": 2, @@ -272,17 +272,17 @@ }, "Ecosia 搜索": { "host": "www.ecosia.org", - "url": "return (fun.lp() == '/search')", + "url": "/^\\/search/", "history": true, "pager": { "nextL": "nav.pagination a[aria-label='Next page']", - "pageE": "section.mainline>div:not(.related-queries)", + "pageE": "section.mainline>div:not(.related-queries):not(.mainline__pagination)", "replaceE": "nav.pagination" } }, "Magi 搜索": { "host": "magi.com", - "url": "return (fun.lp() == '/search')", + "url": "/^\\/search/", "pager": { "type": 2, "nextL": ".card[data-type='next']", @@ -291,7 +291,7 @@ }, "ASK 搜索": { "host": ["ask.com","www.ask.com"], - "url": "return (fun.lp() == '/web')", + "url": "/^\\/web/", "style": ".PartialSearchResults-heading {display: none !important;}", "history": true, "pager": {