Another Auto Update Script

By sizzlemctwizzle Last update Feb 11, 2011 — Installed 15,452 times.

update timer

in
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