From 779c9a07e6ae493e7ffc30c40d6b6c6149dc66e8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 11 Apr 2022 13:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=83=A8=E5=88=86=20?= =?UTF-8?q?=E8=87=AA=E5=B8=A6=E6=97=A0=E7=BC=9D=E7=BF=BB=E9=A1=B5=20?= =?UTF-8?q?=E7=BD=91=E7=AB=99]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 16c5165..3edf0a5 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -256,7 +256,7 @@ } else if (getAllCSS('.load-more, .loadmore, #load-more, #loadmore, .show_more').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1`); return 8; - } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { + } else if (getAllXpath('//*[text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2`); return 9; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { @@ -314,7 +314,7 @@ case 8: // < 部分自带 自动无缝翻页 的网站 1 > DBSite.loadmore.url('.load-more, .loadmore, #load-more, #loadmore, .show_more'); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > - DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; + DBSite.loadmore.url('//*[text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; case 100: // < 部分使用 WordPress 的网站 (a.next) > DBSite.wp_article.url('a.next, a.next-page'); break; case 101: // < 部分使用 WordPress 的网站 (a[rel="next"]) >