Page 1 of 1

How to allow access to only IE users?

Posted: Sun Jan 21, 2007 8:34 pm
by amy
May i know how i could allow access to my site to only IE users?
Thanks a lot.

Posted: Sun Jan 21, 2007 8:36 pm
by daedalus__
Why would you want to do this?

Posted: Sun Jan 21, 2007 8:44 pm
by Luke
8O Sounds like a horrible idea! :evil:

Posted: Sun Jan 21, 2007 8:48 pm
by aaronhall
Awful idea, but get_browser() is about the closest you'll get. It's unreliable, plus I think Opera still identifies as IE.

Posted: Sun Jan 21, 2007 8:55 pm
by amy
Because the scripts that I used and the formatting of my site only works in IE.

I tried using get_browser() but it doesn'twork.

Could someone help? Many thanks.

Posted: Sun Jan 21, 2007 9:00 pm
by Jenk
Better idea to fix your markup so that it works in all browsers, instead of restricting to IE.

Besides which, there is no reliable way of performing that task. I (and anyone else) can simply change the identity of my browser with a few simple buttons.

Posted: Sun Jan 21, 2007 9:01 pm
by Luke
what kind of solution is that?? If your site doesn't work in anything but IE, your site is broken, not the other browsers. How about fixing your site to work in the other browsers instead of just ignoring them. I'm sorry, but this irritates me that developers still do this. :evil:

Posted: Sun Jan 21, 2007 9:15 pm
by AKA Panama Jack
amy wrote:Because the scripts that I used and the formatting of my site only works in IE.

I tried using get_browser() but it doesn'twork.

Could someone help? Many thanks.
It sounds like you need to learn how to write W3C COMPLIANT code instead of using IE only coding. And for your information other browsers can MIMIC IE so they can get into sites that try to block them.

My advice is to drop the IE only attitude and start designing your site to be compliant with W3C standards so it will work on most browsers.

Posted: Sun Jan 21, 2007 10:59 pm
by m3mn0n
Is this a script you designed or something you're just using?

If there is a specific issue with getting to work with all browsers, post some code and allow the community to help you get it working.

Telling someone to close their browser and open a new one just to visit your site has always been, and will always been bad design practice. You should avoid doing that at all costs. Even if it means cutting back on features.

Big sites can get away with that for media apps/plugins, like CNN/ABC, because they have an established audience from outside of the web and their content is just that valuable to the people who visit the site. I hate the practice, but it seems to be working for them and some others. Sadly, this is hardly ever the case for a typical site and if it goes beyond requirements for media display and it's about just content display... that's a serious flaw.

Posted: Mon Jan 22, 2007 1:39 am
by daedalus__
I agree with what everyone else is saying. You do realize you would be keeping most users of other operating systems, Mac OS, linux, unix, and disabled persons who use screen readers from being able to view your website, right?

For me it is easiest to development standards compliant code and then use ugly things like conditional statements (in CSS) and browser detection to try to make the code work in non-standards compliant browsers (IE).