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)

发表回复

登录以发表回复