Link Details

Link 18520 thumbnail
User 209881 avatar

By pcx99
via dev.opera.com
Published: Apr 12 2007 / 12:36

Browser name sniffing, using scripts figure out which browser is used and then provide different content to them, is a widespread practice with a long history. Unfortunately these scripts are usually static, while browsers keep evolving. This makes these scripts extremely fragile whenever an unexpected new browser or a new version happens to load the page. Simply put: Sniffing browser names can seriously damage the future health of your script.
  • 10
  • 0
  • 910
  • 85

Comments

Add your comment
User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

We had this here: http://www.dzone.com/links/using_capability_detection.html

But it didn't make it out of the queue

User 209881 avatar

pcx99 replied ago:

0 votes Vote down Vote up Reply

Hmm, the submission page didn't flag it as a dupe :-/

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)