mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
替换通知
This commit is contained in:
@@ -637,7 +637,7 @@ async function getNotice() {
|
|||||||
},
|
},
|
||||||
result = await httpRequest(options);
|
result = await httpRequest(options);
|
||||||
if (!result || !("notice" in result)) {
|
if (!result || !("notice" in result)) {
|
||||||
options.url = `https://gitee.com/smallfawn/Note/raw/master/Notice.json`;
|
options.url = `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`;
|
||||||
result = await httpRequest(options);
|
result = await httpRequest(options);
|
||||||
}
|
}
|
||||||
if (result && "notice" in result) {
|
if (result && "notice" in result) {
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ async function getNotice() {
|
|||||||
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
@@ -823,7 +823,7 @@ async function getNotice() {
|
|||||||
},
|
},
|
||||||
result = await httpRequest(options);
|
result = await httpRequest(options);
|
||||||
if (!result || !("notice" in result)) {
|
if (!result || !("notice" in result)) {
|
||||||
options.url = `https://gitee.com/smallfawn/Note/raw/master/Notice.json`;
|
options.url = `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`;
|
||||||
result = await httpRequest(options);
|
result = await httpRequest(options);
|
||||||
}
|
}
|
||||||
if (result && "notice" in result) {
|
if (result && "notice" in result) {
|
||||||
|
|||||||
2
jlqc.js
2
jlqc.js
@@ -441,7 +441,7 @@ async function getNotice() {
|
|||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
2
mxbc.js
2
mxbc.js
@@ -216,7 +216,7 @@ async function getNotice() {
|
|||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json"
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json"
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
2
qtx.js
2
qtx.js
@@ -329,7 +329,7 @@ async function getNotice() {
|
|||||||
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
@@ -521,7 +521,7 @@ async function getNotice() {
|
|||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://fastly.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
2
ysfqd.js
2
ysfqd.js
@@ -149,7 +149,7 @@ async function getNotice() {
|
|||||||
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||||
];
|
];
|
||||||
let notice = null;
|
let notice = null;
|
||||||
for (const url of urls) {
|
for (const url of urls) {
|
||||||
|
|||||||
Reference in New Issue
Block a user