View Full Version : Refresh/Update only once
zoobie
08-19-2002, 10:23 PM
Isn't there a js script that, once the page loads, refreshes/updates the page once, the just once, and only once without timeouts, etc?
Thx :D
joh6nn
08-20-2002, 12:03 AM
window.onload = function() {
if (!window.location.search) {
setTimeout("window.location+='?refreshed';", 5000);
}
}
zoobie
08-20-2002, 01:20 AM
Heh heh...Thanks
I saw the other post in here...but it was 3 in the morning and didn't think to just change the time out to .5 seconds. :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.