F9y4ng / GreasyFork-Scripts

The open source code of this project is used for userscripts (油猴脚本) for desktop browsers, including Font Rendering (Customized) (字体渲染(自用脚本)- Font Rendering.user.js), and Search Engine Assistant (优雅的搜索引擎助手 - Google & Baidu Switcher.user.js), etc.
https://f9y4ng.github.io/GreasyFork-Scripts/
GNU General Public License v3.0
947 stars 46 forks source link

[发现错误] 报告`w.frColorPicker is not a constructor`的错误,无法打开设置界面 #274

Closed wwmbao closed 10 months ago

wwmbao commented 10 months ago

1. 准备工作(确认预先完成的操作)

2. 描述错误信息(清楚而简洁地描述错误)

点击字体渲染按钮,出现报错弹框

3. 错误再现(重现行为步骤,直至复现您遇到的问题)

任何网址

4. 屏幕截图(如有屏幕截图,请添加以帮助解释您的问题)

none

5. 预期结果(清晰明了地描述您所期待想要什么样的结果)

想要进入字体渲染设置

6. 客户端信息(请在冒号后认真填写您的本地信息)

7. 脚本运行环境排查 (请确认环境条件并填写相关信息)

8. 附加信息(在此处添加您认为有用的其他信息)

浏览器信息:{"engine":"Blink","brand":"Edge","brandversion":"118","os":"Windows","trust-engine":"Blink","credit":"Tampermonkey 4.19.0","cheat-ua":false}
脚本扩展信息:Tampermonkey 4.19.0
脚本版本信息:2023.10.03.1
当前访问域名:www.bilibili.com /
错误信息列表:
1、[Fonts shadowColor]: TypeError: w.frColorPicker is not a constructor
F9y4ng commented 10 months ago

看起来与 #254 是同样的报错。

一般情况下,报w.frColorPicker is not a constructor的错误,大都是程序无法正常访问greasyfork.org,造成无法从greasyfork中下载拾色器代码。而 #254 的问题是该脚本管理器的bug造成的,升级到该脚本管理器最新版本即可解决。

处理方法