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)

發表回覆

登入以回復