-
Notifications
You must be signed in to change notification settings - Fork 310
修复开启用户脚本通知显示异常的问题 #1086
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
修复开启用户脚本通知显示异常的问题 #1086
Conversation
|
|
是的,抛出的错误没 catch 住,访问 chrome.userScripts 就会抛出错误,所以那些 |
不是 Chrome / Edge 有permission 但没 developer mode 打勾的话,会报错 加一个空的 这个是故意忽略错误的。1.3 也不用改 Vivaldi 好像是直接沒有 userScripts |
* 处理 只显示提示,不显示感叹号 的问题 * 优化弹出窗口的userscripts提示 * 该错误为预期内情况,无需记录 debug 日志 * 通过测试 * 删除日志 * 通过测试 * default isUserScriptsAvailableState to null * 要求用户重启扩展/浏览器,会重置badge状态的 --------- Co-authored-by: cyfung1031 <44498510+cyfung1031@users.noreply.github.com>
概述 Descriptions
close #1083
变更内容 Changes
截图 Screenshots