Skip to content

Commit 227a99c

Browse files
committed
优化 [更新外置翻页规则] 功能
1 parent 4ec977f commit 227a99c

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

Autopage.user.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 自动无缝翻页
44
// @name:zh-TW 自動無縫翻頁
55
// @name:en AutoPager
6-
// @version 5.9.2
6+
// @version 5.9.3
77
// @author X.I.U
88
// @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
99
// @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
@@ -16,6 +16,8 @@
1616
// @connect raw.fastgit.org
1717
// @connect cdn.staticaly.com
1818
// @connect ghproxy.fsofso.com
19+
// @connect git.yumenaka.net
20+
// @connect raw.xn--p8jhe.tw
1921
// @connect raw-gh.gcdn.mirr.one
2022
// @connect cdn.jsdelivr.net
2123
// @connect gcore.jsdelivr.net
@@ -91,6 +93,8 @@
9193
'https://hk1.monika.love/XIU2/UserScript/master/other/Autopage/rules.json',
9294
'https://raw.fastgit.org/XIU2/UserScript/master/other/Autopage/rules.json',
9395
'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json',
96+
'https://git.yumenaka.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
97+
'https://raw.xn--p8jhe.tw/XIU2/UserScript/master/other/Autopage/rules.json',
9498
'https://raw-gh.gcdn.mirr.one/XIU2/UserScript/master/other/Autopage/rules.json',
9599
'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json',
96100
'https://cdn.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
@@ -102,7 +106,9 @@
102106
'https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json',
103107
'https://hk1.monika.love/XIU2/UserScript/master/other/Autopage/rules.json',
104108
'https://raw.fastgit.org/XIU2/UserScript/master/other/Autopage/rules.json',
105-
'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json'
109+
'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json',
110+
'https://git.yumenaka.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
111+
'https://raw.xn--p8jhe.tw/XIU2/UserScript/master/other/Autopage/rules.json'
106112
], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, DBSite2, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname, scriptHandler;
107113
window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, blank: forceTarget, getAll: getAll, getOne: getOne, getAllXpath: getAllXpath, getXpath: getXpath, getAllCSS: getAllCSS, getCSS: getCSS, getNextE: getNextE, getNextEP: getNextEP, getNextSP: getNextSP, getNextEPN: getNextEPN, getNextUPN: getNextUPN, getNextUP: getNextUP, getNextF: getNextF, getSearch: getSearch, getCookie: getCookie, insStyle: insStyle, insScript: insScript, src_bF: src_bF, xs_bF: xs_bF}
108114
if (typeof GM_info != 'undefined') {scriptHandler = GM_info.scriptHandler;} else if (typeof GM != 'undefined' && typeof GM.info != 'undefined') {scriptHandler = GM.info.scriptHandler;} else {scriptHandler = '';}
@@ -1039,7 +1045,7 @@ function: {
10391045
function getRulesUrl_(n = false, url) {
10401046
if (n) {url = urlArr2[Math.floor(Math.random()*urlArr2.length)];} else {url = urlArr[Math.floor(Math.random()*urlArr.length)];}
10411047
if (url === undefined) {GM_notification({text: '❌ 所有更新地址均以试过,已无可用地址,请联系作者解决...', timeout: 5000}); return}
1042-
//console.log(url)
1048+
//console.log(url); return
10431049
GM_xmlhttpRequest({
10441050
url: url,
10451051
method: 'GET',

0 commit comments

Comments
 (0)