Hi,
Can anyone suggest how to fix this?
The weather radar animation page at
http://www.bom.gov.au/products/IDR703.loop.shtml
has an annoying popup window that gets triggered when the network goes down
such as when my computer goes into sleep mode.
Once the computer wakes up you cannot use the browser again until you click
on the popup.
The offending Javascript is in the file
http://www.bom.gov.au/scripts/radar/IDR.loop.v12.0.js
and the code looks like this.
if (loop_time_OK()) {
timeID = setTimeout("animate_fwd()", delay_time);
} else {
if (confirm("The radar loop has timed out. Would you like to
resume?")) {
setStartTime();
window.focus();
if (loop_time_OK()) {
timeID = setTimeout("animate_fwd()", delay_time);
}
} else {
stop();
}
}
I could be wrong, but I think that converting the 'confirm()' into 'true'
should allow the rest of the Javascript to function correctly.
Regards,
Mike
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.