if today isn't yesterday, reload now!
Monday, April 18, 2005 5:11:14 PM
if (window.history.current != window.history.previous)
window.location.reload();
which is literally telling the browser "if this page is not the same as the previous page you visited, then reload".
The big question is: why did someone write that? Is it meant as a sort of "back button disabler" script? What browser are they targetting anyway? Because Opera gets stuck in a loop, FireFox throws an exception and in IE6 both properties are undefined?? I won't understand the purpose of this code even if I think about it while today is different from yesterday..









Fatimahzenya # Monday, April 18, 2005 5:11:14 PM
Post this in the forum you will get the most professional answer and fast
João EirasxErath # Wednesday, November 1, 2006 4:05:08 AM
Year and a half later, that website still has the same problem !