// nodetitle is case sensitive
var nodetitle = 'squawkbox';
// you can change this to whichever server you use
var e2server = 'http://everything2.com';
// feel free to remove the three lines below
document.write('
This file is for testing purposes only.
Please download your own copy.
');
document.write('Notelet Nodelet Squawkbox Client by in10se
');
document.write('Start client now
');
// feel free to remove the three lines above
// only refresh the page if the user is at the squawkbox so that
// normal E2 use is not distrupted by unwanted refreshes
if (document.title == nodetitle + '@Everything2.com')
{
// the refresh time is in milliseconds so 1000 = 1 second
// (i.e., 60000 = 1 minute)
// change it as you see fit, but don't make it too low or you
// may overload the server
setTimeout('refresh()', 60000);
}
function refresh()
{
// don't refresh if the user is in the middle of typing a message
if (document.forms[2].message.value == '')
document.location.href = e2server + '/?node=' + nodetitle;
}