Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short the Default Link of Raw Userscirpt #548

Closed
Rhilip opened this issue May 23, 2018 · 1 comment
Closed

Short the Default Link of Raw Userscirpt #548

Rhilip opened this issue May 23, 2018 · 1 comment

Comments

@Rhilip
Copy link

Rhilip commented May 23, 2018

Now, The Install and Update link of userscript may like https://greasyfork.org/scripts/<id>-<name>/code/<name>.user.js. The name came up twice in this link.

It is not a terrible problem when the name of userscript is in english language or it is too short.
But when it's name is not only in other language but also too long, User maynot update successfully as the discussion in Forum 名字太长,同步失败 "Long Script Name cause sync failed"

In other way, the name of userscript can be changed when owner update their script. But the post id will not change after first publish.

Maybe Link like https://greasyfork.org/scripts/<id>/code/<id>.user.js is more easy to use. And it can touch now.

@JasonBarnabe
Copy link
Collaborator

The reason the name is included in <name>.user.js is that (at least at the time this code was written), the "filename" of the script was used as the name by some user script managers. I'm not sure if that's still the case.

@Rhilip Rhilip closed this as completed Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants