Determining Browser Vendor, Version, and Operating System With JavaScript

R

Richard Cornford

I tried to find the currect version of universal detection javascript,
for OS, Browser, and Browser Version(all in one),

Given the hundreds (probably thousands) of permutations, what exactly
do you intend doing with that information, assuming that there were
any means of gathering it?

A page that starts with the warning:- "This document is obsolete and
the information in it should not be relied upon. The practices
described here are not recommended and this document is provided only
for historical reference. Please see the web-developer documentation
index page for more up-to-date documentation."

Where the "practices" that are "not recommended" are attempting to use
javascript (or anything else) to determine the OS, Browser, and
Browser Version.
Is there up-to-dated version of this script?

The practice is obsolete so an up-to-date version is a contradiction
(which does not mean that there will not be recently written verions).

Richard.
 
B

Bwig Zomberi

Beline said:
I tried to find the currect version of universal detection javascript,
for OS, Browser, and Browser Version(all in one), but find only old
http://www-archive.mozilla.org/docs/web-developer/sniffer/browser_type.html

Is there up-to-dated version of this script?


Detection based on useragent is old hat, as the useragent can be spoofed.

However I use a similar script for my referrer logs. I don't care for
accuracy.
http://www.vsubhash.com/js/really_ultimate_client_sniffer.js
 
F

Frobernik

A page that starts with the warning:- "This document is obsolete and
the information in it should not be relied upon. The practices
described here are not recommended and this document is provided only
for historical reference. Please see the web-developer documentation
index page for more up-to-date documentation."

Even following the 'web-developer documentation index page' link goes to
a page that has another warning '...Most of this content is highly out
of date...' ::)

Save your sanity - don't use it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top