Prevent IE users from visiting my site?
Posted
by Paul Hatcherian
on Stack Overflow
See other posts from Stack Overflow
or by Paul Hatcherian
Published on 2010-04-01T17:29:26Z
Indexed on
2010/04/01
17:33 UTC
Read the original article
Hit count: 435
Internet Explorer has caused me a lot of trouble over the years, between security problems, memory leaks, endless CSS and JavaScript hacks to get my site to look correct, and inconsistencies between releases, I've spent countless hours as the hapless victim of IE's idiosyncrasies.
Well that ends today, I've decided to take matters into my own hands and ban all users of IE from visiting my website. That will teach them to use such a cruddy browser.
My question is how best to do this? I don't want to rely on JavaScript, which could be disabled, nor the request agent string, which could be tampered with. A clever user could even temporarily switch to Firefox or Chrome just to visit my site. Ideally, I'd have a list of the IP addresses of every IE user in the world and restrict based on the IP address. The main problem I'm having, aside from getting the list in the first place, is how do I keep it updated?
Thanks!
© Stack Overflow or respective owner