browser sniffing

Hal Burgiss hal at
Wed Dec 26 18:06:10 UTC 2012

On Wed, Dec 26, 2012 at 4:29 AM, thufir <hawat.thufir at> wrote:

> Is wget the same as ruby mechanize or Java (fill in the blank), aside
> fromt the user agent string?

Same? No. Some, maybe significant, overlap in functionality, yes.

> Looking at:
> I'm guessing that most major sites don't just look at the string, but
> also have various tests for the browser?

Depending on what the application needs to know / do, then it would have to
direct query the browser for capabilities and feature support, with
something like modernizr:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list