Greasyfork script-set-edit button

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

< Σχολιασμός για τον κώδικα Greasyfork script-set-edit button

Ερώτηση/σχόλιο

§
Δημοσιεύτηκε: 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://greasyforks.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Δημιουργός
§
Δημοσιεύτηκε: 26/05/2025
Επεξεργάστηκε: 26/05/2025

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

§
Δημοσιεύτηκε: 28/05/2025

v0.3.1:
It is fixed now ?

PYUDNGΔημιουργός
§
Δημοσιεύτηκε: 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?

§
Δημοσιεύτηκε: 29/05/2025
Επεξεργάστηκε: 29/05/2025

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

Firefox / Tampermonkey
Same after a quick test with another profile

§
Δημοσιεύτηκε: 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

§
Δημοσιεύτηκε: 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

PYUDNGΔημιουργός
§
Δημοσιεύτηκε: 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.

§
Δημοσιεύτηκε: 02/06/2025

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

PYUDNGΔημιουργός
§
Δημοσιεύτηκε: 02/06/2025

I'm glad to hear that:)

§
Δημοσιεύτηκε: 03/06/2025

good job as usual!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.

长期地址
遇到问题?请前往 GitHub 提 Issues。