Comments on: jQuery sucks at browser detection https://hm2k.org/posts/jquery-sucks-at-browser-detection Research and development Sat, 18 Dec 2010 00:39:13 +0000 hourly 1 https://wordpress.org/?v=5.5.1 By: Erik Hermansen https://hm2k.org/posts/jquery-sucks-at-browser-detection/comment-page-1#comment-259473 Sat, 18 Dec 2010 00:39:13 +0000 http://www.hm2k.com/?p=507#comment-259473 I think detecting technologies is the purist solution. Yes, we should do that if it is possible. But technology tests are actually quite complicated to write and maintain as the years go by and layers of APIs and capabilities accrete on different browsers. Also take into account that you’ll need to deal with mobile devices hitting your pages too. This complexity in determining capabilities with code running inside of several hundred different browser versions is terrible. For me, I would go back to user agent detection used to look up capabilities from a database. Do it on the server side before the page is rendered–not in client-side jscript. WURFL has an impressive database of browsers and sophisticated matching to user agent. Look at WURFL, maybe.

]]>
By: HM2K https://hm2k.org/posts/jquery-sucks-at-browser-detection/comment-page-1#comment-219021 Mon, 26 Jul 2010 19:09:09 +0000 http://www.hm2k.com/?p=507#comment-219021 You may wish to check this out -> http://jsbrwsniff.sourceforge.net/

]]>
By: Larry https://hm2k.org/posts/jquery-sucks-at-browser-detection/comment-page-1#comment-202952 Fri, 02 Apr 2010 21:33:27 +0000 http://www.hm2k.com/?p=507#comment-202952 Hey,

I would love to get a look at your script, I’m having the same problem with my site and am going nuts trying to figure it out.. Does your script detect phone browsers & screen resolution as well ?

]]>