-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) Error: MetaData信息错误 #161
Labels
bug
Something isn't working
Comments
插件的问题 应该是脚本的Userheader部分格式不正确,另外看看扩展的日志中有没有记录这个错误 |
把脚本Userheader部分额外的注释 // 删除,用了会,不报错了 |
可以看一下报错的脚本内容么? |
缺少某些header的情况下会导致这个问题,后续再优化看一下
|
太长发不出去,就是文件头申请权限最后一行,只写注释,不写申请权限的文本,就会报错,删除注释就好了 |
可以简化一下,可以复现就行,或者截图,这样说我还是不太明白 |
// @grant none 注释这行存在就会报错,删除就没有问题 |
添加了数据校验,不合法的header会提示具体原因 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
插件运行使用一段时间,在chrome扩展插件里面有错误按钮,
不知道是 脚本的错误,还是插件的错误
提示错误信息
Uncaught (in promise) Error: MetaData信息错误
上下文
src/background.html
堆叠追踪
src/background.js:1 (匿名函数)
`
The text was updated successfully, but these errors were encountered: