A
Andre Uys
I have noticed recently that IE sometime pop-up this error when going to a
webpage:
A Runtime Error has occurred.
Do you wish to debug?
Line: 40
Error: Expected identifier
Yes and No Option to debug
After entering the debug tool, this is the code on line 40
if( '' != window."Hidden-Referrer")
Here is a larger portion of the code that might help to put this line into
perspective: (Did not paste as shown in debug, CR and LF not present)
if(doImage == null) { var a= new Array(); a[0] =
prepTrackingString(window.location.hostname,7); if (TType == null) { a[1] =
prepTrackingString('PV',8); } else { a[1] = prepTrackingString(TType,8); }
a[2] = prepTrackingString(window.location.pathname,0);
if( '' != window."Hidden-Referrer")
{ a[a.length] = prepTrackingString(window."Hidden-Referrer",5); } if
(navigator.userAgent.indexOf("SunOS") == -1 &&
navigator.userAgent.indexOf("Linux") == -1) { buildIMG(a); } }
Here is one website that causes the problem, and yeah, you guessed it, it is
a Microsoft website !!!!
http://www.microsoft.com/Office/clippy/game.asp
What could be the cause of this ?
Thanks
webpage:
A Runtime Error has occurred.
Do you wish to debug?
Line: 40
Error: Expected identifier
Yes and No Option to debug
After entering the debug tool, this is the code on line 40
if( '' != window."Hidden-Referrer")
Here is a larger portion of the code that might help to put this line into
perspective: (Did not paste as shown in debug, CR and LF not present)
if(doImage == null) { var a= new Array(); a[0] =
prepTrackingString(window.location.hostname,7); if (TType == null) { a[1] =
prepTrackingString('PV',8); } else { a[1] = prepTrackingString(TType,8); }
a[2] = prepTrackingString(window.location.pathname,0);
if( '' != window."Hidden-Referrer")
{ a[a.length] = prepTrackingString(window."Hidden-Referrer",5); } if
(navigator.userAgent.indexOf("SunOS") == -1 &&
navigator.userAgent.indexOf("Linux") == -1) { buildIMG(a); } }
Here is one website that causes the problem, and yeah, you guessed it, it is
a Microsoft website !!!!
http://www.microsoft.com/Office/clippy/game.asp
What could be the cause of this ?
Thanks