File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 326326 }
327327 if ( DBSite . wp_article . pager . pageE != undefined ) { console . info ( `[自动无缝翻页] - 部分使用 WordPress 的网站` ) ; return 10 ; }
328328 }
329- } else if ( getCSS ( 'meta[name="template" i][content="handsome" i]' ) ) {
329+ } else if ( getCSS ( 'meta[name="template" i][content="handsome" i]' ) && getCSS ( 'li.next>a' ) ) {
330330 console . info ( `[自动无缝翻页] - 部分使用 Typecho 的网站 (handsome)` ) ; return 12 ;
331- } else if ( getCSS ( 'meta[name="template" i][content="Mirages" i]' ) ) {
331+ } else if ( getCSS ( 'meta[name="template" i][content="Mirages" i]' ) && getCSS ( 'li.next>a' ) ) {
332332 console . info ( `[自动无缝翻页] - 部分使用 Typecho 的网站 (Mirages)` ) ; return 13 ;
333333
334334 } else if ( getCSS ( '.stui-page, .stui-page__item' ) && getCSS ( 'li.active.hidden-xs+li.hidden-xs>a' ) && getCSS ( '.stui-vodlist' ) ) {
@@ -512,15 +512,15 @@ function: {
512512 typecho_handsome : {
513513 blank : 3 ,
514514 pager : {
515- nextL : 'li.next > a' ,
515+ nextL : 'li.next> a' ,
516516 pageE : '.blog-post, .post-list' ,
517517 replaceE : '.page-navigator'
518518 }
519519 } , // 部分使用 Typecho 的网站 (handsome)
520520 typecho_mirages : {
521521 blank : 3 ,
522522 pager : {
523- nextL : 'li.next > a' ,
523+ nextL : 'li.next> a' ,
524524 pageE : '#index>article, #archive>article' ,
525525 scriptT : 3 ,
526526 replaceE : '.page-navigator'
You can’t perform that action at this time.
0 commit comments