Go away IE!
by leon on November 14, 2007
![]()
I’ve written a little script for all you Firefox fans out there that will detect the browser that the user is running. If it is anything apart from Firefox the user will be prompted to download a copy of Firefox. They do ofcourse have the option to carry on using their current browser to view the site.
There is also a version that uses a cookie to bypass the check each time the user tries to view your site.
The script can be modified to let more browsers in. At the moment the script is only written in asp.net (sorry I don’t know PHP) but if there any PHP guys out there that would like to re-write this then please feel free.
Download the source files here.
2 comments
Don’t get me wrong, I love Firefox and it is my Browser of choice. But I don’t like the idea of forcing it down people’s throats. There are many people out there who know about Firefox and still choose to use IE7. 2 out of the 5 web developers I work for use IE7 as their primary browser simply because its faster and takes up less memory.
Spread the word through word of mouth, not automated scripts.
by Aaron Pepper on November 14, 2007 at 4:07 pm. #
Hi Aaron. Thanks for your comment. I too need to use multiple browsers due to my job, but sometimes are fed up with IE not being fully standards compliant. This was just a nice little way to spread the word. The user can still carry on with their browser if they choose – regards Leon
by admin on November 14, 2007 at 6:57 pm. #