File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name 自动无缝翻页
3- // @version 1.7.7
3+ // @version 1.7.8
44// @author X.I.U
5- // @description 无缝拼接下一页内容,目前支持:[所有使用「Discuz!、Flarum、DUX(WordPress)」的网站]、百度、谷歌、必应、贴吧、豆瓣、微博、V2EX、超能网、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、Steam 创意工坊、小霸王其乐无穷、片库、音范丝、爱恋动漫、SrkBT、RARBG、423Down、不死鸟、小众软件、极简插件、乐软博客、不忘初心、果核剥壳、六音软件、微当下载、th-sjy汉化、异次元软件、老殁殁漂遥、异星软件空间、动漫狂、漫画DB、HiComic(嗨漫画)、古风漫画网、砂之船动漫家、PubMed、AfreecaTV、GreasyFork、CS.RIN.RU、Crackhub213、FitGirl Repacks...
5+ // @description 无缝拼接下一页内容,目前支持:[所有使用「Discuz!、Flarum、DUX(WordPress)」的网站]、百度、谷歌、必应、贴吧、豆瓣、微博、V2EX、超能网、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、Steam 创意工坊、小霸王其乐无穷、片库、音范丝、BT之家、 爱恋动漫、SrkBT、RARBG、423Down、不死鸟、小众软件、极简插件、乐软博客、不忘初心、果核剥壳、六音软件、微当下载、th-sjy汉化、异次元软件、老殁殁漂遥、异星软件空间、动漫狂、漫画DB、HiComic(嗨漫画)、古风漫画网、砂之船动漫家、PubMed、AfreecaTV、GreasyFork、CS.RIN.RU、Crackhub213、FitGirl Repacks...
66// @match *://*/*
77// @connect www.gamersky.com
88// @icon https://i.loli.net/2021/03/07/rdijeYm83pznxWq.png
596596 scrollDelta : 1500
597597 }
598598 } ,
599+ btbtt : { // BT 之家
600+ SiteTypeID : 0 ,
601+ host : 'btbtt' ,
602+ pager : {
603+ type : 1 ,
604+ nextLink : '//div[@class="page"]/a[contains(text(), "▶")]' ,
605+ pageElement : 'css;#threadlist > table, #threadlist > hr' ,
606+ insertPosition : [ 'css;#threadlist' , 3 ] ,
607+ replaceE : 'css;.page' ,
608+ scrollDelta : 1500
609+ }
610+ } ,
599611 gaoqing_fm : { // 高清电台
600612 SiteTypeID : 0 ,
601613 host : 'gaoqing.fm' ,
13351347 curSite = DBSite . greasyfork_discussions ;
13361348 }
13371349 break ;
1350+ default :
1351+ if ( location . host . indexOf ( DBSite . btbtt . host ) > - 1 ) { // < BT 之家 >
1352+ curSite = DBSite . btbtt ;
1353+ }
13381354 }
13391355 // < 所有 Discuz!论坛 >
13401356 } else if ( webType === 2 ) {
18791895 }
18801896 }
18811897
1898+ if ( ! support ) { // 部分域名额外判断一下
1899+ if ( location . host . indexOf ( DBSite . btbtt . host ) > - 1 ) { // < BT 之家 >
1900+ support = true ;
1901+ }
1902+ }
1903+
18821904 if ( support ) {
18831905 console . info ( '[自动无缝翻页] - 其他网站(独立规则)' ) ; return 1 ;
18841906 } else if ( document . querySelector ( 'meta[name="author"][content*="Discuz!"], meta[name="generator"][content*="Discuz!"]' ) || document . getElementById ( 'ft' ) && document . getElementById ( 'ft' ) . textContent . indexOf ( 'Discuz!' ) > - 1 ) {
You can’t perform that action at this time.
0 commit comments