Skip to content

Commit 5baa0ba

Browse files
committed
更新 外置翻页规则分流地址
1 parent ac17afa commit 5baa0ba

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Autopage.user.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// @connect bitbucket.org
1515
// @connect gitea.com
1616
// @connect js.cdn.haah.net
17+
// @connect jsdelivr.b-cdn.net
1718
// @connect raw.fgit.cf
1819
// @connect raw.iqiq.io
1920
// @connect raw.cithub.icu
@@ -98,24 +99,25 @@
9899
'https://gitea.com/XIU2/UserScript/raw/branch/master/other/Autopage/rules.json',
99100
'https://raw.fgit.cf/XIU2/UserScript/master/other/Autopage/rules.json',
100101
//'https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json',
101-
'https://raw.kgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
102+
//'https://raw.kgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
102103
//'https://raw.cithub.icu/XIU2/UserScript/master/other/Autopage/rules.json',
103104
'https://raw.njuu.cf/XIU2/UserScript/master/other/Autopage/rules.json',
104105
'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
105106
'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
106-
'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json',
107+
//'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json',
107108
'https://cdn.jsdelivr.ren/gh/XIU2/UserScript/other/Autopage/rules.json',
108109
//'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
109-
'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json'
110-
//'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json'
110+
'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
111+
'https://jsdelivr.b-cdn.net/gh/XIU2/UserScript/other/Autopage/rules.json',
112+
'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json'
111113
], urlArr2 = [
112114
'https://userscript.h233.eu.org/other/Autopage/rules.json',
113115
'https://userscript.xiu2.xyz/other/Autopage/rules.json',
114116
'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json',
115117
'https://gitea.com/XIU2/UserScript/raw/branch/master/other/Autopage/rules.json',
116118
'https://raw.fgit.cf/XIU2/UserScript/master/other/Autopage/rules.json',
117119
//'https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json',
118-
'https://raw.kgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
120+
//'https://raw.kgithub.com/XIU2/UserScript/master/other/Autopage/rules.json',
119121
//'https://raw.cithub.icu/XIU2/UserScript/master/other/Autopage/rules.json',
120122
'https://raw.njuu.cf/XIU2/UserScript/master/other/Autopage/rules.json',
121123
'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
@@ -1164,7 +1166,7 @@ function: {
11641166
if (update) { // 手动更新(或安装后首次更新)
11651167
GM_notification({text: '🔄 更新外置翻页规则中,请勿操作网页...', timeout: 5000});
11661168
getRulesUrl_(true);
1167-
} else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 864000) {
1169+
} else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 2592000) {
11681170
getRulesUrl_();
11691171
}
11701172

0 commit comments

Comments
 (0)