From efc8c479102057ecd18d8ebc5ffee4f4a30f96ae Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:58:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E7=85=8E=E8=9B=8B?= =?UTF-8?q?=E7=BD=91]=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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 77cf9d6..c63e64f 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -577,7 +577,7 @@ }, "煎蛋网": { "host": "jandan.net", - "url": "return (fun.lp() == '/' || fun.indexOF('/page/'))", + "url": "/^(\\/$|\\/page\\/)/", "style": "#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}", "history": false, "pager": { @@ -591,7 +591,7 @@ }, "煎蛋网 - 大杂烩": { "host": "jandan.net", - "url": "return (fun.lp() == '/dzh')", + "url": "/^\\/dzh$/", "pager": { "type": 2, "nextL": ".show_more", @@ -600,10 +600,11 @@ }, "煎蛋网 - 吐槽": { "host": "jandan.net", + "url": "/^\\/(qa|pic|ooxx|treehole)/", "style": "#nav_prev, #nav_next, #tucao-gg {display: none !important;} .jandan-vote a.tucao-btn23:link {color: #c8c7cc !important;} .jandan-tucao {background-color: #fafaf9 !important;}", "pager": { "nextL": "a.previous-comment-page", - "pageE": "ol.commentlist>li[id^='comment-'], script[src^='//cdn.jandan.net/static/min/']", + "pageE": "ol.commentlist>li[id^='comment-'], head>script:not([src])", "replaceE": ".cp-pagenavi", "scriptT": 2 },