Skip to content

[BUG] GM_deleteValue() 似乎在某些情况下存在问题,会造成数据被自动清空。 #249

@Xia0xia0Xia0

Description

@Xia0xia0Xia0

最近尝试使用Scriptcat扩展,但发现一些内置API函数的bug,如下:

在脚本 字体渲染(自用脚本) 中,这段代码执行时, https://github.com/F9y4ng/GreasyFork-Scripts/blob/9891e78a2bdb63c0213eb329340d2ca39e7f2dde/Font%20Rendering.user.js#L4203C1-L4203C84 ,会出现数据无法保存的问题(数据总是被自动清空,即使重新写入新数据),而以上代码在TM或VM中都是可以正确执行的。

我怀疑是Scriptcat在GM_deleteValue()函数上的处理存在问题,只要将以上语句注释掉代码就可以正常执行了。因此,我感觉可能是GM_deleteValue()函数有bug,请作者检查并修复它,谢谢。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions