mirror of
https://github.com/3288588344/toulu.git
synced 2025-12-16 23:11:00 +08:00
Update 好奇车生活抢兑2.0.js
This commit is contained in:
@@ -182,7 +182,7 @@ async function getNotice() {
|
||||
//==============================================获取远程版本=================================================
|
||||
function getVersion(scriptUrl, timeout = 3 * 1000) {
|
||||
return new Promise((resolve) => {
|
||||
const options = { url: `https://tfapi.cn/tl.json/${scriptUrl}` };
|
||||
const options = { url: `https://github.com/3288588344/toulu/raw/main/tl.json/${scriptUrl}` };
|
||||
$.get(options, (err, resp, data) => {
|
||||
try {
|
||||
const regex = /scriptVersionNow\s*=\s*(["'`])([\d.]+)\1/;
|
||||
|
||||
Reference in New Issue
Block a user