Greasyfork script-set-edit button

Add / Remove script into / from script set directly in GF script info page

< Opinie na Greasyfork script-set-edit button

Pytanie/komentarz

§
Napisano: 23-05-2025

[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.dpdns.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)
PYUDNGAutor
§
Napisano: 26-05-2025
Edytowano: 26-05-2025

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

§
Napisano: 28-05-2025

v0.3.1:
It is fixed now ?

PYUDNGAutor
§
Napisano: 29-05-2025

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?

§
Napisano: 29-05-2025
Edytowano: 29-05-2025

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

Firefox / Tampermonkey
Same after a quick test with another profile

§
Napisano: 01-06-2025

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

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

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

PYUDNGAutor
§
Napisano: 02-06-2025

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.

§
Napisano: 02-06-2025

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

PYUDNGAutor
§
Napisano: 02-06-2025

I'm glad to hear that:)

§
Napisano: 03-06-2025

good job as usual!

Odpowiedz

Zaloguj się, by odpowiedzieć.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联