...

View Full Version : Refresh/Update only once



zoobie
08-19-2002, 11: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, 01:03 AM
window.onload = function() {
if (!window.location.search) {
setTimeout("window.location+='?refreshed';", 5000);
}
}

zoobie
08-20-2002, 02: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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum