[BUG] 脚本报错: Website.initSocial
提交BUG前请先阅读以下内容
- [x] 我尝试了多次确认问题可以复现 | I tried several times to confirm that the problem can be reproduced.
- [x] 我已经将脚本更新到了最新版 | I have updated this script to the latest version.
- [x] 我尝试过使用兼容版但没有解决 | I have updated this script to the compatible version but not solved.
- [x] 我已经查看了常见问题解决办法但没有解决 | I have seen FAQ but not solved.
- [x] 我已经查看了用前必读但没有解决 | I have seen READ ME FIRST but not solved.
- [x] 我已经查看了issues但没有解决 | I have seen issues but not solved.
问题描述
Turning on ASF breaks the script. If I use the normal version there is only tickboxes for the IPC URL/password. The compatible version allows me to put the IPC URL but gets the same issue.
关于哪一个网站
https://givee.club/en/event/1129
浏览器版本
{
"browser": "Firefox",
"browserVersion": "143.0",
"engine": "Gecko",
"isWebview": false,
"isRobot": false,
"cookieEnabled": true,
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0",
"system": "Windows",
"systemVersion": "10",
"platform": "Win32",
"architecture": "x86",
"bitness": 64,
"devicePixelRatio": 1,
"deviceMemory": 4,
"device": "Desktop",
"gpu": "NVIDIA",
"gpuModel": "NVIDIA GeForce GTX 980 Direct3D11",
"network": "unknown",
"isOnline": true,
"ip": "0.0.0.0",
"isCharging": true,
"battery": 1,
"screenWidth": 2560,
"screenHeight": 1440,
"clientWidth": 2560,
"clientHeight": 1370,
"screenFPS": 280,
"screenColorDepth": 24,
"screenPixelDepth": 24,
"isTouch": false,
"language": "en_GB",
"timezone": "Europe/London"
}
脚本管理器版本
Tampermonkey 5.4.0
脚本版本
5.0.5
错误信息
SteamASF@moz-extension://5436039b-ef2d-4d94-9ba9-d6002dc496fa/userscripts/auto-task.user.js?id=d6c4765c-7b4a-44c1-93ba-2aa7c04acc84:5083:30
#getTaskExecutionOrder@moz-extension://5436039b-ef2d-4d94-9ba9-d6002dc496fa/userscripts/auto-task.user.js?id=d6c4765c-7b4a-44c1-93ba-2aa7c04acc84:9389:18
Steam@moz-extension://5436039b-ef2d-4d94-9ba9-d6002dc496fa/userscripts/auto-task.user.js?id=d6c4765c-7b4a-44c1-93ba-2aa7c04acc84:8448:55
initSocial@moz-extension://5436039b-ef2d-4d94-9ba9-d6002dc496fa/userscripts/auto-task.user.js?id=d6c4765c-7b4a-44c1-93ba-2aa7c04acc84:9522:35
toggleTask@moz-extension://5436039b-ef2d-4d94-9ba9-d6002dc496fa/userscripts/auto-task.user.js?id=d6c4765c-7b4a-44c1-93ba-2aa7c04acc84:9620:20
执行日志
Initializing...Success
Obtaining and processing task information...Success
Update Twitter token...Success
All tasks have been completed!
附加截图
No response
最新的抽奖https://givee.club/zh/event/1146
日志:
正在初始化...Success 正在获取并处理任务信息...Success 正在初始化ASF...Success 正在添加游戏到Steam愿望单[[3776780](https://store.steampowered.com/app/3776780)]...Error:<1> ID: 3776780 | Status: 失败 <2> ID: 3776780 | Status: 失败 (200) 正在添加游戏到Steam愿望单[[3693590](https://store.steampowered.com/app/3693590)]...Success 正在添加游戏到Steam愿望单[[3063190](https://store.steampowered.com/app/3063190)]...Success 正在添加游戏到Steam愿望单[[3364870](https://store.steampowered.com/app/3364870)]...Success 正在关注Steam游戏[[3776780](https://store.steampowered.com/app/3776780)]...Error:<1> ID: 3776780 | Status: 失败 <2> ID: 3776780 | Status: 失败 (200) 正在关注Steam游戏[[3693590](https://store.steampowered.com/app/3693590)]...Error:<1> ID: 3693590 | Status: 失败 <2> ID: 3693590 | Status: 失败 (200) 正在关注Steam游戏[[3063190](https://store.steampowered.com/app/3063190)]...Error:<1> ID: 3063190 | Status: 失败 <2> ID: 3063190 | Status: 失败 (200) 正在关注Steam游戏[[3364870](https://store.steampowered.com/app/3364870)]...Error:<1> ID: 3364870 | Status: 失败 <2> ID: 3364870 | Status: 失败 (200) 所有任务已完成!
实际情况这几个愿望单都没添加成功,而关注都成功了。
控制台信息
[Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.woff2 1146:1 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://givee.club/assets/vendor/bootstrap-3.4.1-dist/fonts/glyphicons-halflings-regular.woff2 1146:1 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-brands-400.woff2 1146:304 GET https://www.googletagmanager.com/gtag/js?id=G-5QH3G3EY5C net::ERR_BLOCKED_BY_CLIENT 1146:974 GET https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015 net::ERR_BLOCKED_BY_CLIENT userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:188 Auto-Task[Load]: 脚本开始加载 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:268 Auto-Task[Load]: 脚本加载完成
最新的抽奖https://givee.club/zh/event/1146 日志:
正在初始化...Success 正在获取并处理任务信息...Success 正在初始化ASF...Success 正在添加游戏到Steam愿望单[[3776780](https://store.steampowered.com/app/3776780)]...Error:<1> ID: 3776780 | Status: 失败 <2> ID: 3776780 | Status: 失败 (200) 正在添加游戏到Steam愿望单[[3693590](https://store.steampowered.com/app/3693590)]...Success 正在添加游戏到Steam愿望单[[3063190](https://store.steampowered.com/app/3063190)]...Success 正在添加游戏到Steam愿望单[[3364870](https://store.steampowered.com/app/3364870)]...Success 正在关注Steam游戏[[3776780](https://store.steampowered.com/app/3776780)]...Error:<1> ID: 3776780 | Status: 失败 <2> ID: 3776780 | Status: 失败 (200) 正在关注Steam游戏[[3693590](https://store.steampowered.com/app/3693590)]...Error:<1> ID: 3693590 | Status: 失败 <2> ID: 3693590 | Status: 失败 (200) 正在关注Steam游戏[[3063190](https://store.steampowered.com/app/3063190)]...Error:<1> ID: 3063190 | Status: 失败 <2> ID: 3063190 | Status: 失败 (200) 正在关注Steam游戏[[3364870](https://store.steampowered.com/app/3364870)]...Error:<1> ID: 3364870 | Status: 失败 <2> ID: 3364870 | Status: 失败 (200) 所有任务已完成!实际情况这几个愿望单都没添加成功,而关注都成功了。 控制台信息[Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-solid-900.woff2 1146:1 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://givee.club/assets/vendor/bootstrap-3.4.1-dist/fonts/glyphicons-halflings-regular.woff2 1146:1 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/webfonts/fa-brands-400.woff2 1146:304 GET https://www.googletagmanager.com/gtag/js?id=G-5QH3G3EY5C net::ERR_BLOCKED_BY_CLIENT 1146:974 GET https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015 net::ERR_BLOCKED_BY_CLIENT userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:188 Auto-Task[Load]: 脚本开始加载 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. 1146:1 Tracking Prevention blocked access to storage for https://js.hcaptcha.com/1/api.js. userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:268 Auto-Task[Load]: 脚本加载完成
这是ASF的问题,脚本只是显示了ASF返回的结果,建议愿望单和关注游戏还是使用Web API