Dealing With All That IE Meta Tag Crap

Thursday, March 26, 2009

With the release of IE8, we now have a new meta tag to add to our web pages. This brings the total number of meta tags essential for disabling stupid Internet Explorer features to four. Here they are:

<meta http-equiv="MSThemeCompatible" Content="No"/>
<meta name="MSSmartTagsPreventParsing" content="true"/>
<meta http-equiv="imagetoolbar" content="no"/>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>

To make this more easily manageable, here's a TextMate bundle I created. If you type:

go fuck yourself IE[TAB]

the bundle snippet will vomit the above meta tags into your HTML, while hopefully putting a little smile on your face.

Download it: All that IE crap.tmbundle

3 Comments

#1
On the March 29, 2009, Adrian Lynch wrote:

Added to Spring for you baby...

#2
On the September 23, 2009, frosting wrote:

It's terrible for developers to have to built webpages what works with all browsers. Four or five browsers, from different companies, seeing the code the way they want to, we're hungry for more rules and "laws" on the internet, enough with browsers breaking webpages :/
*Love your IE8 bundle btw, it did put a smile on my face ;)

#3
On the July 15, 2010, ramlal solanki wrote:

thanks for code,this code/validation is very use ful for me.

Leave your comment


HTML tags will not work. Your email address will never be displayed. If you have a Gravatar we'll display it.

Random outings from a chaotic mind

The Dexagogo Rocket Australian Web Industry Association logo

Delicious

Twitter