Script Summary: Function to search for updates.

Version: 1.11

License: Creative Commons Reconocimiento-No comercial-Sin obras derivadas 3.0 EspaƱa License

Thumb

Last update: 12/08/09


License
Creative Commons License

The Userscripts - AutoUpdater script is licensed under a Creative Commons Attribution-Noncommercial-No Derivative 3.0 Spanish License.

An English translation of the license can be found here Creative Commons Attribution-Noncomercial-No Derivative 3.0 License.


Features
DON'T INSTALL THE SCRIPT.

This is not a functional script. It's just a function to search updates of your scripts.

The user can set the days to wait until next search. If is set to 0 you will turn it off and a GreaseMonkey Menu Command will be available to turn it on.

To call it just type:
autoUpdate (52251, "1.02");
The first parameter is an integer of the script id. The second is a string of the new script version.


You have 2 ways to use this function:

  • Copy and paste the function to your script file. Not recommended because if I update the funtion you will be using a deprecated version.

  • Using the @require method. With this method your scripts will always have the function up to date. In the // ==UserScript== header you have to write the following:

    // @require http://buzzy.260mb.com/AutoUpdater.js
    // @version 1.02

    Change the number 1.02 and put your script version.

Version
Date uploaded
Changelog
1.12
12/08/09
Fixed. The function was not working with version names like strings ("1.02" was working, but "1.0.3 Beta 2" no).
1.11
06/08/09
Fixed. Some errors saving the intervals of time.
1.10
05/07809
Fixed. Error with the intervals of time.
1.02
01/07/09
Fixed. When Install button was clicked nothing happened.
1.01
28/06/09
Changed. Implementation improved. Now you can use it with @require.
1.00
23/06/09
First release.