Greasy Fork is available in English.

Diskussionen » Greasy Fork Rückmeldungen

Off-site downloadURL

§
Veröffentlicht: 16.04.2014
Bearbeitet: 16.04.2014

Off-site downloadURL

I see multiple scripts using off-site @​updateURL and @​downloadURL, most pointing to github and the old userscripts.org. Should these be disallowed/discouraged?

Just as external @require could change to something malicious outside of GreasyFork's control, does not the same apply to script updates coming from external sources?

Just curious.

§
Veröffentlicht: 16.04.2014

@updateURL and @downloadURL are removed on *.user.js files.
They won't affect when you install the script.

§
Veröffentlicht: 17.04.2014
Bearbeitet: 17.04.2014

Thank you both, that is good to hear.

I was looking at "Code" because of syntax highlighting and haven't noticed the pruning... I apologize for the noise.

§
Veröffentlicht: 18.04.2014
Bearbeitet: 18.04.2014

Came here with the same question. I'm really not trying to rush you or anything, but is this feature done now or is it a future thing? The script I uploaded and installed isn't pointing to the Fork for updates. I'm on Chrome using Tampermonkey, if that matters. I uninstalled the script before testing each time. All that seems to be added is a @namespace, and that points to the UserScripts.org site.

Guess I should link the script since it's unlisted:

https://greasyfork.org/scripts/468-youtube-video-ratings-with-like-strength

§
Veröffentlicht: 21.04.2014
Bearbeitet: 21.04.2014

Hello lednerg. The feature is already implemented. As Jason and Lou explained above, the code you see in the "Code" tab is exactly as the author posted - it may contain @downloadURL etc.
https://greasyfork.org/scripts/468/code

But the .user.js you actually install (green button) has them stripped out.
https://greasyfork.org/scripts/468/code.user.js

See https://greasyfork.org/help/rewriting for details. Regards.

§
Veröffentlicht: 22.04.2014
Bearbeitet: 22.04.2014

I guess what's confusing me is that the namespace pointing to userscripts instead of Greasy Fork. If it doesn't matter, then whatever. It seems to be auto-updating from the Fork regardless.

§
Veröffentlicht: 06.05.2014
Bearbeitet: 06.05.2014

Since I'm not much into scripting, I'm actually curious how my installed script knows, where to look for an update?

I always thought, these 2 lines are mandatory to let the script know its origin, so it can check for updates.

§
Veröffentlicht: 26.05.2014

are you sure all script managers would not just break updating if you remove those lines? cuz I rememer GM have by default a disabled option "use download url for updating"

§
Veröffentlicht: 14.06.2014

Remove those lines won't help promote security. It's author's freedom to choose where to update from.

§
Veröffentlicht: 29.06.2014

But why does Greasy Fork remove @downloadURL and @updateuRL completely?.. As far as personally I see, Scriptish need them to update automatcally.

It is possible to just replace them with values on Greasy Fork site, no need to remove them...

§
Veröffentlicht: 30.06.2014
are you sure all script managers would not just break updating if you remove those lines? cuz I rememer GM have by default a disabled option "use download url for updating"

Scriptish has the same issue. It could be ok to rewrite those URLs, but deleting them harms the scripts...

Antwort schreiben

Anmelden um eine Antwort zu senden.