Skip to content
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

部分脚本导致violentmonkey抛出TypeError #547

Closed
KCCat opened this issue Apr 16, 2019 · 1 comment
Closed

部分脚本导致violentmonkey抛出TypeError #547

KCCat opened this issue Apr 16, 2019 · 1 comment

Comments

@KCCat
Copy link

KCCat commented Apr 16, 2019

What is the problem?

部分脚本导致violentmonkey抛出TypeError.

脚本页面
脚本执行页面

错误信息

[Violentmonkey][page][EhTagBuilder] 
TypeError: Cannot read property 'XXX' of undefined
Cannot read property 'XXX' of undefined

XXX为浏览器首选语言字段(如"zh_CN").
手动在控制台执行脚本可以正常运行.

Environment

  • Browser: Chromium
  • Browser version: 73.0.3683.103
  • Violentmonkey version: 2.10.3
  • OS: Arch Linux
@gera2ld
Copy link
Member

gera2ld commented Apr 17, 2019

脚本的问题,GM_info.script.name_i18n[lang] 执行会报错,可以向脚本作者反馈

@gera2ld gera2ld closed this as completed Apr 17, 2019
gera2ld pushed a commit that referenced this issue Apr 17, 2019
This can help find out script errors such as #547.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants