Re: JavaScript or browser detection

From: Date: Thu, 19 Dec 2002 10:58:20 +0000
Subject: Re: JavaScript or browser detection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128835@lists.php.net to get a copy of this message
Hope it helps you: http://developer.netscape.com/docs/examples/javascript/browser_type_oo.html Steve Vernon wrote:
Hiya,
    I know it is probably out there somewhere, but I cannot find out a
script to detect the browser. I have seen it, and I sorta remember how to do it, but I just can't find it!
    I have a script that adds nice features to my webpage, but if JavaScript
is off the site still can be used. Basically the script does not work in Netscape 4.08 but works above that, so either I could bracket out and check the code, but in this case I cannot as it is code I am not allowed to alter, and I include it, it is not in my HTML file.
    So I need a way to say in PHP this is a bad web browser for JavaScript,
so ignore this bit of the file.
    Thanks,
    Steve


« previous php.general (#128835) next »