Another Auto Update Script

By sizzlemctwizzle Last update Sep 22, 2009 — Installed 9,991 times. Daily Installs: 7, 6, 13, 11, 13, 10, 12, 12, 5, 12, 20, 6, 9, 9, 6, 11, 13, 9, 11, 9, 8, 8, 8, 25, 8, 11, 4, 11, 7, 8, 9

update timer

Subscribe to update timer 2 posts, 2 voices

kwah Scriptwright
FirefoxWindows

Hiya..

Looking through the code and I see this line:

if ( (GM_getValue('updated_'+this.id, 0) != 'off') && (+this.time > (+GM_getValue('updated_'+this.id, 0) + (1000*60*60*24*this.days))) ) {

Am I right in thinking that if I were to set 'days' to 0.5 or 0.25 then it would check for an update every 12 or 6 hours?

 
sizzlemctwizzle Script's Author
FirefoxMacintosh

You are correct. I'm not forcing 'days' to be a whole number value.

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