Greasyfork 快捷编辑收藏

在GF脚本页直接编辑收藏集

< 脚本 Greasyfork 快捷编辑收藏 的反馈

提问 / 留言

§
发布于:2025-05-23

[BUG] Error in Console when handling lists of scripts.

This line:

this.#sid = location.pathname.match(/scripts\/(\d+)/)[1]

Fails on this URL:

https://greasyfork.org/en/scripts/

Error:

Uncaught (in promise) TypeError: Cannot read properties of null (reading '1')
    at new FavoritePanel (userscript.html?name=Greasyfork-script-set-edit-button.user.js&id=0b0836c9-c261-44d3-aaad-0e33a74b876a:2060:74)
    at Object.func (userscript.html?name=Greasyfork-script-set-edit-button.user.js&id=0b0836c9-c261-44d3-aaad-0e33a74b876a:2561:27)
    at #load (userscript.html?name=Greasyfork-script-set-edit-button.user.js&id=0b0836c9-c261-44d3-aaad-0e33a74b876a:932:48)
PYUDNG作者
§
发布于:2025-05-26
编辑于:2025-05-26

Thanks for reporting, this should be fixed in the update.

§
发布于:2025-05-28

v0.3.1:
It is fixed now ?

PYUDNG作者
§
发布于:2025-05-29

v0.3.1:It is fixed now ?

I've tested v0.3.1 on my device and shows no error. Is there still anything wrong?

§
发布于:2025-05-29
编辑于:2025-05-29

Updated to v.0.3.2 ... and seems not working.

Firefox / Tampermonkey
Same after a quick test with another profile

§
发布于:2025-06-01

I'll just report here-- the script's UI is no longer appearing with newest version(s). I downgraded to v0.2.9 and is working again.

Firefox 128.8.0esr / Tampermonkey v5.3.3

§
发布于:2025-06-01
I downgraded to v0.2.9 and is working again

I confirm.
Firefox 139.0.1 (64 bits) / Tampermonkey v5.3.3

PYUDNG作者
§
发布于:2025-06-02

Just identified a bug related to non-Chinese language packs, which might be the cause of the script failure.
I've posted a fix along with the newly released version v0.3.2.1, now the script should work properly.

§
发布于:2025-06-02

Thanks:
Update v.0.3.2.2 work fine!
;-)

PYUDNG作者
§
发布于:2025-06-02

I'm glad to hear that:)

发布留言

登录以发布留言。