greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.41k stars 423 forks source link

[Request] Add unique version control in HTML #1218

Closed cyfung1031 closed 7 months ago

cyfung1031 commented 7 months ago
Screen Shot 2023-12-05 at 9 07 08

I have a userscript to add a button in the list

Screen Shot 2023-12-05 at 9 08 06

But the LI element does not contain the version control information for me to generate the link like https://update.greasyfork.org/scripts/481384/1290420/Grid%20Smartschool.js as the version is not provided in the LI element dataset.

Could you please add it to the LI element dataset, like data-script-unique-version

Thanks

JasonBarnabe commented 7 months ago

So basically you just want the script's installation URL to be a data attribute there?

cyfung1031 commented 7 months ago

So basically you just want the script's installation URL to be a data attribute there?

Yes. It can be the whole url or just the version number