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.5.0
3+ // @version 1.5.1
44// @author X.I.U
55// @description 自动无缝翻页,目前支持:所有「Discuz!、Flarum」论坛、百度、豆瓣、微博、千图网、3DM、游侠网、游民星空、Steam 创意工坊、423Down、APPHOT、不死鸟、亿破姐、小众软件、微当下载、落尘之木、异次元软件、老殁殁漂遥、异星软件空间、古风漫画网、砂之船动漫家、RARBG、PubMed、AfreecaTV、GreasyFork、AlphaCoders、Crackhub213、FitGirl Repacks...
66// @match *://*/*
714714 // < 所有 Discuz!论坛 >
715715 } else if ( webType === 2 ) {
716716 if ( location . pathname . indexOf ( '.html' ) > - 1 ) { // 判断是不是静态网页(.html 结尾)
717- if ( location . pathname . indexOf ( 'forum' ) > - 1 ) { // 各版块帖子列表
717+ if ( location . pathname . indexOf ( '/ forum- ' ) > - 1 ) { // 各版块帖子列表
718718 if ( document . getElementById ( 'autopbn' ) ) { // 判断是否有 [下一页] 按钮
719719 curSite = DBSite . discuz_forum ;
720720 } else {
721721 curSite = DBSite . discuz_guide ;
722722 }
723- } else if ( location . pathname . indexOf ( 'thread' ) > - 1 ) { // 帖子内
723+ } else if ( location . pathname . indexOf ( '/ thread- ' ) > - 1 ) { // 帖子内
724724 if ( GM_getValue ( 'menu_discuz_thread_page' ) ) {
725725 curSite = DBSite . discuz_thread ;
726726 hidePgbtn ( ) ; // 隐藏帖子内的 [下一页] 按钮
757757 curSite = DBSite . flarum ;
758758 }
759759 curSite . pageUrl = '' ; // 下一页URL
760+ //console.log(curSite);
760761 pageLoading ( ) ; // 自动无缝翻页
761762
762763
You can’t perform that action at this time.
0 commit comments