I go to a website that has a javascript based timeout and I was wondering if there was a way (using a Greasemonkey script?) that I could either disable the timer or significantly increase the timeout value. Below are the relevant parts of the html on the page...

Code HTML4Strict:
<html>
<head>
<script language="JavaScript">
var timeout = 600*1000;
var btimd = timeout + 5000;
var tOF = '';
 
function lOut() {
newwin.close();
location.href = 'http://www.somewhere.com'
}
 
function timedOut() {
clearTimeout(tOF);
tOF = setTimeout('lOut()',btimd);
}
 
timedOut();
</script>
</head>
<body>
...whatever...
</body>
</html>

The most promising thought I've had is setting up a Greasemonkey script that basically runs "clearTimeout(tOF)" but that does not work, perhaps I cannot reference "tOF".

Do you have any thoughts on where to go from here?

thx,

Trogdor