Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Identifying browsers

by Malkavian (Friar)
on Mar 30, 2001 at 17:40 UTC ( #68357=note: print w/replies, xml ) Need Help??


in reply to Identifying browsers

Hmm.. I may be in error here, but, I believe the browser string for NS 4 returns a very similar string for a portion of it (i.e. Mozilla/4.xxx).
I think the solution in this case would be to filter for this particular string using a regular expression.
Also, a lot of browsers return Mozilla 4.0 compatible in the string. You'll need to make sure that you don't classify the 4.0 compatibles as NS4.x, as this includes most of the up to date browsers that do support CSS.
Just a thought, good luck with it. :)

Cheers,

Malk

Replies are listed 'Best First'.
Re: Re: Identifying browsers
by Melly (Hermit) on Mar 30, 2001 at 18:37 UTC
    Sounds reasonable - I wasn't sure whether other browsers returned Mozilla 4.xx where xx was any other value except 0.
    Tom Melly, tom@tomandlu.co.uk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://68357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2020-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (167 votes). Check out past polls.

    Notices?