browser sniffing
Hal Burgiss
hal at burgiss.net
Wed Dec 26 18:06:10 UTC 2012
On Wed, Dec 26, 2012 at 4:29 AM, thufir <hawat.thufir at gmail.com> 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:
>
> http://en.wikipedia.org/wiki/Browser_sniffing#Client-side_sniffing
>
>
> 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:
http://en.wikipedia.org/wiki/Modernizr
--
Hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121226/df08b6e6/attachment.html>
More information about the ubuntu-users
mailing list