greasyfork-org / greasyfork

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

updateURL & downloadURL #110

Closed erosman closed 10 years ago

erosman commented 10 years ago

Hi

I was wondering, how would @updateURL & @downloadURL work here?

Does greasyfork send the meta data for the update? Does GM accepts the update from greasyfork?

I looked at a few of the script at greasyfork but most had their downloadURL pointed elsewhere.

Thank you :)

Makaze commented 10 years ago

GreaseMonkey automatically adds both values, using the URL you installed from as the URL for both.

There are a few reasons to allow these options besides, though.

There is already a closed issue about this: https://github.com/JasonBarnabe/greasyfork/issues/46

JasonBarnabe commented 10 years ago

On the code tab, you're seeing the code as submitted by the author. Behind the scenes, Greasy Fork will remove downloadURL and updateURL for installs, which, as Makaze mentions, means that Greasemonkey will update from the installed URL.

jesus2099 commented 10 years ago

It seems that code tab is not showing the code as is now. download and update URLs are removed from there too now. (no strong opinion about it, just saying for the record)

JasonBarnabe commented 10 years ago

Yes, per #115.