File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010// @name :it Pagetual
1111// @name :ko 東方永頁機
1212// @namespace hoothin
13- // @version 1.0.20
13+ // @version 1.0.21
1414// @description Simply auto loading paginated web pages
1515// @description :zh-CN 自动翻页
1616// @description :zh-TW 自動翻頁
9595// @exclude *://www.youtube.com/watch*
9696// @exclude *://baike.baidu.com/*
9797// @exclude *://*.instagram.com/*
98+ // @exclude *://pagetual.hoothin.com/*
99+ // @exclude *://hoothin.github.io/PagetualGuide/*
98100// ==/UserScript==
99101
100102( function ( ) {
20452047 function nextPage ( ) {
20462048 if ( isPause || isLoading ) return ;
20472049 let nextLink = ruleParser . nextLinkHref ;
2048- let insert ;
2049- if ( nextLink ) insert = ruleParser . getInsert ( ) ;
2050- if ( nextLink && insert ) {
2050+ if ( ! nextLink ) return ;
2051+ let insert = ruleParser . getInsert ( ) ;
2052+ if ( insert ) {
20512053 let isJs = / ^ ( j a v a s c r i p t | # ) / . test ( nextLink . replace ( location . href , "" ) ) ;
20522054 if ( location . protocol == "https:" && / ^ h t t p : / . test ( nextLink ) ) {
20532055 nextLink = nextLink . replace ( / ^ h t t p / , "https" ) ;
You can’t perform that action at this time.
0 commit comments