Submit your breaking news stories and original articles to us by contacting us
A lot of sites have a “Get Firefox” banner on their site these days, but Dan Ostermeyer has a way to target IE users specifically by using IE’s own technology against itself. Apparently there is some sort of proprietary comment code built-in to IE, and since only IE recognizes it, you can put your promotion wording in there and only IE users will see it. Of course there are dozens of other ways to do this like CSS, server side code, javascript, etc. But this isn’t a bad method either. One major problem is that it doesn’t allow your site to validate, so if you are really into seeing that little “Congratulations” message when you validate your site, you may want to use one of the other methods.
Category: Uncategorized
6 Responses for "Spread Firefox using IE only Comments"
February 1st, 2005 at 5:07 pm
1I don’t see the point of this. Just put the damn banner. Everybody will see it and it will hurt nobody (Except maybe MicroSoft, but that’s not bad.)
It’s also nice to see the banner while using Firefox. It makes you think you are doing the right thing.
February 1st, 2005 at 5:48 pm
2It’s a big ugly red banner on this guy’s site. Not something you’d want to show to user’s that have already done what you’re asking them to do. No point in preaching to the choir, so to speak. If you use Firefox you already know you’re doing the right thing. :)
February 1st, 2005 at 9:28 pm
3There is a valid way to use conditional comments:
http://www.quirksmode.org/css/condcom.html
Enjoy.
February 2nd, 2005 at 4:06 am
4An IE conditional comment appears like a regular comment to non-IE browsers, so it should have no implications on your validation.
I’ve been using them to show a GetFirefox banner since before the getfirefox campaign site, and have had no problems validating at least.
May 25th, 2005 at 6:09 pm
5man, i was using firefox on my 386 tandy back in the 80’s as a front end for my dosshell that makes me at least 64 times cooler then you.
October 21st, 2005 at 8:28 am
6ºãÔŽÉÌÒµÕ¹ŸßÓÐÏÞ¹«ËŸÊÇÕãœÊ¡Ê׌ÒÊ¡Œ¶×¢²áµÄÉÌÒµÕ¹ŸßÉú²ú³§ŒÒ¡£×šÒµŽÓÊÂÖ鱊Ê×ÊΡ¢ÈÕ»¯¡¢ÖÓ±íÐÎÏó¹ñÉèŒÆÖÆ×÷¡£µØŽŠ·çŸ°ÐãÀö¡¢»·Ÿ³ÓÅÑÅ¡¢œ»Íš±ãÀû¡¢ÈíÓ²ŒþÉèÊ©ÆëÈ«µÄÁúÓγÇÄÏ¿ª·¢Çø¡£¹«ËŸÍ¶×Ê 2800 ÓàÍòÔª£¬ÕŒµØ 60 ÓàĶ¡£
RSS feed for comments on this post
Leave a reply