Forum Moderators: open

Message Too Old, No Replies

Netscape Trouble

Is it even worth it anymore?

         

gilmour

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

10+ Year Member



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;
}

DrDoc

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

WebmasterWorld Senior Member 10+ Year Member



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 ;)