SkyAutoPlayerScript icon indicating copy to clipboard operation
SkyAutoPlayerScript copied to clipboard

Syntax error (script.js#44(eval)#100)

Open xiatiaopoi opened this issue 3 years ago • 8 comments
trafficstars

log: SkyAutoPlayer.js#44(eval)#100) SyntaxError: syntax error It still worked yesterday😣

xiatiaopoi avatar Dec 28 '21 16:12 xiatiaopoi

Please try again, I have set up proxy for domain cdn.stagex.top now

StageGuard avatar Dec 29 '21 05:12 StageGuard

Please try again, I have set up proxy for domain cdn.stagex.top now

Thank you for your efforts. I tried to switch networks, but actually I still can't connect. I don't know what to do next😖😭😭

xiatiaopoi avatar Dec 29 '21 15:12 xiatiaopoi

You can edit script, at the line 58, put the jsdelivr cdn source at the first place:

let sources = [
  "https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/source/SkyAutoplayer.js",
  "http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js",
  "https://dl.skyautoplayerscript.stageguard.top/source/SkyAutoplayer.js",
  "https://raw.githubusercontent.com/StageGuard/SkyAutoPlayerScript/master/source/SkyAutoplayer.js"
];

Note that this is just a temporary solution. I will close this issue until it is fixed.

StageGuard avatar Dec 29 '21 15:12 StageGuard

You can edit script, at the line 58, put the jsdelivr cdn source at the first place:

let sources = [
  "https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/source/SkyAutoplayer.js",
  "http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/master/source/SkyAutoplayer.js",
  "https://dl.skyautoplayerscript.stageguard.top/source/SkyAutoplayer.js",
  "https://raw.githubusercontent.com/StageGuard/SkyAutoPlayerScript/master/source/SkyAutoplayer.js"
];

Note that this is just a temporary solution. I will close this issue until it is fixed.

Thanks a lot.That's amazing👍🏻

xiatiaopoi avatar Dec 29 '21 15:12 xiatiaopoi

哎我去,你别close啊,解决了我自己close

StageGuard avatar Dec 29 '21 15:12 StageGuard

Done and received toast: 错误:ReferenceError:"activity"is not defined. (/storage/emulated/0/脚本/SkyAutoPlayer.js#21(eval)#44)

noobww avatar Jan 04 '22 10:01 noobww

Done and received toast: 错误:ReferenceError:"activity"is not defined. (/storage/emulated/0/脚本/SkyAutoPlayer.js#21(eval)#44)

You must be deleting the first line:

"ui";

It is required for auto.js to run script in activity mode

StageGuard avatar Jan 04 '22 10:01 StageGuard

Done and received toast: 错误:ReferenceError:"activity"is not defined. (/storage/emulated/0/脚本/SkyAutoPlayer.js#21(eval)#44)

You must be deleting the first line:

"ui";

It is required for auto.js to run script in activity mode

确实贴漏了。。。

noobww avatar Jan 05 '22 07:01 noobww