The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Worse living through arrogance

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Worse living through arrogance Posted: Jul 26, 2005 6:59 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Worse living through arrogance
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Phil Ringnalda points to this arrogant load of crap from "Better Living Through Software" (inappropriately named!) - in a "how to prepare for IE7", Joshua Allen explains how to really torque off anyone using Firefox:

this.ie5=(navVersion.indexOf("msie 5.0")!=-1)?true:false;
this.ie55=(navVersion.indexOf("msie 5.5")!=-1)?true:false;
this.ie6=(navVersion.indexOf("msie 6.0")!=-1)?true:false;
this.isIE=(this.ie5||this.ie55||this.ie6)?true:false;
this.isNetscape=!this.isIE;

Note the problem here -- all of the IE versions are very precisely defined, and Netscape is defined to be everything else. This is a very common pattern in browser detection, and it has nothing to do with CSS bugs in IE. IE is the up-level experience that has the most capabilities, and the non-IE setting tends to be the catch-all downlevel experience that provides the lowest common denominator. As Firefox continues to catch up to built-in IE functionalities like XmlHttpRequest and rich edit, this may become less common, but for now non-IE == lowest common denominator in the majority of cases.

So you have to consider what happens if your site mistakenly thinks that IE7 is "non-IE" and starts feeding it the non-IE code. In the case of HTML and CSS, you might not even notice, since IE7 is a bit better with CSS. But if your app is using any hot "new" AJAX stuff, you really want your app to know that IE7 is not Firefox.

As Phil says, this explains a lot. It explains why so many sites that work just fine with IE break badly in Firefox - grab the User Agent Switcher and have Firefox report itself as IE for awhile to get a feel for just how widespread the stupidity spread by the likes of Joshua Allen really is.

Hey Joshua - here's a tip - Firefox != Netscape 4.

Read: Worse living through arrogance

Topic: New Potential Hurricane Previous Topic   Next Topic Topic: Eating your own dog food

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use