Skip navigation.

miscoded

the web is a hack

if today isn't yesterday, reload now!

I need some input here. It is very clear to me why http://www.milanrecords.com/ is constantly reloading in Opera, it's because of the following statement:

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..

document.all offers another IE quirkmeetup.com captures events by mistake

Comments

Fatimah 18. April 2005, 17:11

Some pages you visit places things in your pc without your knowledge.
Post this in the forum you will get the most professional answer and fast :smile:

João Eiras 1. November 2006, 04:05

:lol:
Year and a half later, that website still has the same problem ! :D

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies