Welcome to WebmasterWorld Guest from 34.204.173.45

Forum Moderators: open

Message Too Old, No Replies

Netscape Trouble

Is it even worth it anymore?

     
5:03 pm on Nov 21, 2003 (gmt 0)

New User

10+ Year Member

joined:Jan 31, 2003
posts:25
votes: 0


Having Netscape trouble with this js script. It's called from an HTML document as an include and the passes data to a PHP file that handles the db.

Netscape 4.x versions crash in a big way requiring a reboot. Any thoughts would be appreciated, my js skills are pretty weak.

j=1
f=""+escape(document.referrer)
v=navigator.appName

r="?ref="+f+"&j="+j

if (v!= "Microsoft Internet Explorer") {
r = r+"&url="+document.URL
}

document.open()
document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"pagegear/module_sitestats/probe.php"+r+"\"></script>")
document.close()

function handleError() {
return true;
}

7:06 pm on Nov 21, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


It would probably work better if it was inside a function.

As for whether NN4 is worth it anymore -- personally I don't think so ;)