Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Hi Glendon, I really like your script. It has a pretty nice and simple code and it works great. Having a look at it, I have had the need to allow me to type minutes too.
var timeoutm = GM_getValue('timeoutm'+thepage, 5);
if (!timeoutset) {
timeoutm = prompt('How often would you like your page to reload? Type in minutes.', timeoutm);
timeout = prompt('How often would you like your page to reload? Type in seconds.', timeout);
alert('Page will reload in ' + (parseInt(timeout)+parseInt(timeoutm)*60) + ' seconds (' + (timeoutm) + ' minutes and ' + (timeout) + ' seconds).');
timeout = parseInt(timeout)+parseInt(timeoutm)*60;
GM_setValue('timeout'+thepage, timeout);
GM_setValue('timeoutset'+thepage,1);
GM_setValue('timeoutm'+thepage, timeoutm);
}
If you consider this being a good idea, please include it or take it in mind for future updates :P
Very thanks and regards! :-) |
|
|
berto - When it prompts you for the time, the current time is listed. By default, it's 300 seconds (5 minutes). |
|
|
How to know when you hit Shift S what is the reload time? I do it once install the script but do not know if it is performed. Thank you. |