Skip to content

[Bug] 暴力猴提示语法错误 #985

Description

@sgt57

检查项

  • 我已确认了XMOJ增强脚本已为最新版,且最新版未修复这个 Bug 。
  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过。

描述

暴力猴无法使用该脚本,提示语法错误

重现步骤

  1. 安装暴力猴
  2. 安装 xmoj-script
  3. 访问 xmoj.tech
  4. 暴力猴提示语法错误

控制台错误信息

[Violentmonkey][XMOJ:3168:1] SyntaxError: await is only valid in async functions, async generators and modules

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingworking-on-itWe are now working on it!

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions