Userscripts - AutoUpdater

By Buzzy Last update Sep 19, 2009 — Installed 36,321 times.

Default check period and version check

in
Subscribe to Default check period and version check 4 posts, 2 voices



mlevit Scriptwright
FirefoxWindows

Hey Buzzy,

Just trying out the script. Can't seem to get it working.

What's the default check period when you first install it? And what version does it check?

Does it check the new scripts @version or autoUpdate (59150, "1.50") version?

I have the script currently with version 1.50 and have uploaded a new script with version 1.51 and it doesn't seem to be doing anything so far.

Any help would be great.

Thanks

 
Buzzy Script's Author
FirefoxWindows
The default period is 1 day and it looks at the parameters of the function autoUpdater, and the page where is uploaded in userscripts. So you have to set the same version in the autoUpdater function and the @version header.

Look at the about:config page, filter the results by the script where is "installed" the autoUpdater function and delete the line with the name finished in "update" (right click). Now visit again the page where is working your script and you should see that the line that you deleted have a value like this "12234241123#1". The first number is the date (in ms) when the script will search for updates. The second number is the period. So, is correct if the script "don't work" (don't search for updates) because the date hasn't been reached yet.
 
mlevit Scriptwright
FirefoxWindows

Ok no worries. I'll check if it works later tonight and get back to you.

 
mlevit Scriptwright
FirefoxWindows

Buzzy I just changed the millisecond value to a time earlier in the day and tested the script.

Works perfectly. Love it mate. Thanks for your help.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel