Skip to content

Commit 5ae0ff3

Browse files
committed
Update pagetual.user.js
1 parent dbd996d commit 5ae0ff3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Pagetual/pagetual.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// @name:it Pagetual
1111
// @name:ko 東方永頁機
1212
// @namespace hoothin
13-
// @version 1.9.33.18
13+
// @version 1.9.33.19
1414
// @description Perpetual pages - Most powerful auto-pager script. Auto loading next paginated web pages and inserting into current page. Support thousands of web sites without any rule.
1515
// @description:zh-CN 自动翻页 - 加载并拼接下一分页内容至当前页尾,无需规则自动适配任意网页
1616
// @description:zh-TW 自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,無需規則自動適配任意網頁
@@ -99,7 +99,6 @@
9999
// @exclude *://baike.baidu.com/*
100100
// @exclude *://*.instagram.com/*
101101
// @exclude *://order.jd.com/*
102-
// @exclude *://pagetual.hoothin.com/*
103102
// @exclude *://wenku.baidu.com/view/*
104103
// @exclude *://pan.baidu.com/*
105104
// @connect *
@@ -670,8 +669,8 @@
670669
};
671670
var rulesData={},ruleUrls,updateDate;
672671
const configPage=["https://github.com/hoothin/UserScripts/tree/master/Pagetual",
673-
"https://hoothin.github.io/UserScripts/Pagetual/"];
674-
const guidePage=/^https?:\/\/.*\/PagetualGuide\/.*rule\.html/;
672+
"https://hoothin.github.io/UserScripts/Pagetual/"];
673+
const guidePage=/^https?:\/\/.*pagetual.*rule\.html/i;
675674
const ruleImportUrlReg=/greasyfork\.org\/.*scripts\/438684[^\/]*(\/discussions|\/?$)|github\.com\/hoothin\/UserScripts\/(tree\/master\/Pagetual|issues\/)/i;
676675
const allOfBody="body>*";
677676
_GM_registerMenuCommand(i18n("configure"), ()=>{
@@ -3105,6 +3104,7 @@
31053104
return true;
31063105
}
31073106
if(location.href.indexOf("PagetualGuide")!=-1) return true;
3107+
if(location.hostname==="pagetual.hoothin.com") return true;
31083108

31093109
var configCon,insertPos;
31103110
var noRules=!rulesData.urls || rulesData.urls.length===0;

0 commit comments

Comments
 (0)