Skip to content

Commit d5b2c7d

Browse files
committed
更新 外置翻页规则分流地址
1 parent ea05670 commit d5b2c7d

1 file changed

Lines changed: 32 additions & 33 deletions

File tree

Autopage.user.js

Lines changed: 32 additions & 33 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 6.6.44
6+
// @version 6.6.45
77
// @author X.I.U
88
// @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流,无限滚动,无需手动点击下一页)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、MyBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、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...) 等網站~
@@ -13,23 +13,27 @@
1313
// @connect userscript.xiu2.us.kg
1414
// @connect userscript.h233.eu.org
1515
// @connect bitbucket.org
16-
// @connect js.cdn.haah.net
16+
// @connect jsd.onmicrosoft.cn
17+
// @connect wget.la
18+
// @connect cdn.wget.la
19+
// @connect ghgo.xyz
1720
// @connect raw.ixnic.net
18-
// @connect raw.nuaa.cf
19-
// @connect raw.yzuu.cf
20-
// @connect raw.kkgithub.com
21-
// @connect raw.incept.pw
22-
// @connect gitdl.cn
2321
// @connect ghproxy.cc
22+
// @connect raw.github.site
23+
// @connect raw.github.store
24+
// @connect raw.dgithub.xyz
25+
// @connect gh-proxy.ygxz.in
2426
// @connect ghproxy.net
25-
// @connect ghp.ci
2627
// @connect github.moeyy.xyz
27-
// @connect jsd.onmicrosoft.cn
28+
// @connect cdn.jsdmirror.com
29+
// @connect js.cdn.haah.net
30+
// @connect gh.akass.cn
31+
// @connect raw.kkgithub.com
2832
// @connect gcore.jsdelivr.net
2933
// @connect fastly.jsdelivr.net
30-
// @connect cdn.jsdmirror.com
3134
// @connect jsd.proxy.aks.moe
3235
// @connect jsdelivr.pai233.top
36+
// @connect gh-proxy.com
3337
// @connect www.xuexiniu.com
3438
// @connect bbs.xuexiniu.com
3539
// @connect weili.ooopic.com
@@ -89,39 +93,33 @@
8993

9094
(function() {
9195
'use strict';
92-
const urlArr = [ // 外置翻页规则更新地址分流,以确保更新成功率(记得 connect)
93-
'https://userscript.h233.eu.org/other/Autopage/rules.json',
94-
//'https://userscript.xiu2.us.kg/other/Autopage/rules.json',
95-
'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json',
96+
let urlArr = [ // 外置翻页规则更新地址分流,以确保更新成功率(记得 connect)
97+
'https://cdn.jsdmirror.com/gh/XIU2/UserScript/other/Autopage/rules.json',
98+
'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json',
99+
'https://gh.akass.cn/XIU2/UserScript/master/other/Autopage/rules.json',
96100
'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
97-
'https://gitdl.cn/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
98-
'https://raw.incept.pw/XIU2/UserScript/master/other/Autopage/rules.json',
99-
'https://raw.ixnic.net/XIU2/UserScript/master/other/Autopage/rules.json',
100-
//'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json',
101-
//'https://raw.yzuu.cf/XIU2/UserScript/master/other/Autopage/rules.json',
102-
'https://ghproxy.cc/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
103-
'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
104-
'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
105-
'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
106-
'https://jsd.onmicrosoft.cn/gh/XIU2/UserScript/other/Autopage/rules.json',
107101
//'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
108102
'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
109-
'https://cdn.jsdmirror.com/gh/XIU2/UserScript/other/Autopage/rules.json',
110-
'https://jsd.proxy.aks.moe/gh/XIU2/UserScript/other/Autopage/rules.json',
103+
//'https://jsd.proxy.aks.moe/gh/XIU2/UserScript/other/Autopage/rules.json',
111104
'https://jsdelivr.pai233.top/gh/XIU2/UserScript/other/Autopage/rules.json',
112-
'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json',
113-
], urlArr2 = [
105+
'https://gh-proxy.com/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
106+
]
107+
const urlArr2 = [
114108
'https://userscript.h233.eu.org/other/Autopage/rules.json',
115109
//'https://userscript.xiu2.us.kg/other/Autopage/rules.json',
116110
'https://userscript.xiu2.xyz/other/Autopage/rules.json',
117111
'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json',
118-
'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
119-
'https://gitdl.cn/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
112+
'https://jsd.onmicrosoft.cn/gh/XIU2/UserScript/other/Autopage/rules.json',
113+
'https://wget.la/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
114+
'https://cdn.wget.la/gh/XIU2/UserScript/other/Autopage/rules.json',
115+
'https://ghgo.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
120116
'https://raw.ixnic.net/XIU2/UserScript/master/other/Autopage/rules.json',
121-
//'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json',
122-
//'https://raw.yzuu.cf/XIU2/UserScript/master/other/Autopage/rules.json',
117+
'https://ghproxy.cc/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
118+
'https://raw.github.site/XIU2/UserScript/master/other/Autopage/rules.json',
119+
'https://raw.github.store/XIU2/UserScript/master/other/Autopage/rules.json',
120+
'https://raw.dgithub.xyz/XIU2/UserScript/master/other/Autopage/rules.json',
121+
'https://gh-proxy.ygxz.in//https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
123122
'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
124-
'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
125123
'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
126124
],
127125
loadMoreExclude1 = ['.smzdm.com','stackoverflow.com'],
@@ -136,6 +134,7 @@
136134
['menu_rules', '更新外置翻页规则 (每天自动)', '更新外置翻页规则 (每天自动)', {}],
137135
['menu_customRules', '自定义翻页规则', '自定义翻页规则', {}]
138136
], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, DBSite2, DBSiteNow, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname, scriptHandler;
137+
urlArr.push(...urlArr2); // 合并数组
139138
window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, isPager: isPager, isTitle: isTitle, 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, cleanuEvent: cleanuEvent, src_bF: src_bF, xs_bF: xs_bF, pageNumIncrement: pageNumIncrement}
140139
if (typeof GM_info != 'undefined') {scriptHandler = GM_info.scriptHandler;} else if (typeof GM != 'undefined' && typeof GM.info != 'undefined') {scriptHandler = GM.info.scriptHandler;} else {scriptHandler = '';}
141140
for (let i=0;i<menuAll.length;i++){ // 如果读取到的值为 null 就写入默认值

0 commit comments

Comments
 (0)