Greasy Fork is available in English.

議論 » Greasy Fork への意見

Off-site downloadURL

§
投稿日: 2014/04/16
編集日: 2014/04/16

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.

§
投稿日: 2014/04/16

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

§
投稿日: 2014/04/17
編集日: 2014/04/17

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.

§
投稿日: 2014/04/18
編集日: 2014/04/18

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

§
投稿日: 2014/04/21
編集日: 2014/04/21

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.

§
投稿日: 2014/04/22
編集日: 2014/04/22

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.

§
投稿日: 2014/05/06
編集日: 2014/05/06

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.

§
投稿日: 2014/05/26

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"

§
投稿日: 2014/06/14

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

§
投稿日: 2014/06/29

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...

§
投稿日: 2014/06/30
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...

返信を投稿

返信を投稿するにはログインしてください。