Javascript Browser Sniffer

Subscribe

Continuing the train of thought from an earlier posting, here’s a reliable and extensively populated Javascript browser sniffer: http://jsbrwsniff.sourceforge.net/index.html. However, it doesn’t redirect visitors, but one fluent in JS could insert this into the code.

I’m still working on the SH site to redirect mobile visitors to the mobile site. Referencing the same earlier posting mentioned above, I’m going to combine the user agent strings of the .asp and .php scripts into one PHP file executed when the page loads via a <script> tag in the head.

I’ll post developments here as I find time to make them.

Javascript, though, is another option for web developers looking to redirect visitors to a sub- or mobile-site based on platform and/or browser. This is what Yahoo! uses for its messenger page. (Here’s the .js file). I’m just enchanted by the cleanliness and organization of PHP vis-a-vis the crazed relationships of a JS file. Of course, server-side is usually going to be cleaner than client-side anyway.

I’ll post a comparison of the Yahoo! JS file and the Studio Hyperset PHP when the latter’s ready.

However, as the French would say, it’s largely a matter of “à chacun son goût.”

Marketing Plan
Posted in "Métier."

Tags:

Quimby Melton

Founder/President

Quimby is the founder and president of Studio Hyperset. He started Studio Hyperset in 2006 after studying Transatlantic literature and culture, new media, and humanities computing at the Universities of Georgia (AB, 00) and Nevada, Las Vegas (MA, 03; PhD, 08). He has a background in literary studies, media production, front-end development, and project management. His current primary duties involve helping clients frame solutions that meet their needs; scoping and managing Studio Hyperset's growth strategy and business development pipeline; finding and developing talent; and, most importantly, supporting the SH team.