Skip to content

Commit 9784726

Browse files
committed
优化 [部分 WordPress 网站] 通用规则
1 parent a592c1d commit 9784726

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Autopage.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@
350350
DBSite.wp_article.pager.pageE = '.posts-row>posts[class*="post"]'
351351
} else if (getAllCSS('#posts, .posts').length == 1) {
352352
DBSite.wp_article.pager.pageE = '#posts, .posts'
353-
} else if (getAllCSS('#content .row').length == 1 && getAllCSS('#content .row+.nav-pagination').length == 1) {
354-
DBSite.wp_article.pager.pageE = '#content .row'
353+
} else if (getAllCSS('#content .container>.row').length == 1 && getAllCSS('#content .container>.row+.nav-pagination').length == 1) {
354+
DBSite.wp_article.pager.pageE = '#content .container>.row'
355355
}
356356
if (DBSite.wp_article.pager.pageE != undefined) {console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站`); return 10;}
357357
}

0 commit comments

Comments
 (0)