Restricting A Web Page To Certain Browsers

Discussion in 'Gaming' started by Canada Eh895, Nov 29, 2006.

  1. Canada Eh895

    Canada Eh895 Well-Known Member

    Age:
    37
    Posts:
    499
    Likes Received:
    0
    Joined:
    Dec 23, 2005
    Location:
    New Brunswick, Canada
    Hi there.

    I am looking for a script or something that I can put on my web page that will restrict it's viewing to only Opera and Mozilla Firefox, because the page does not display properly in Internet Explorer. If a user tries to access the website with Internet explorer, I want it to go to a page saying that it is reccomended that you not view it with IE, but if they really want to continue click a link, and if they diddn't want to continue they can go to an alternate layout made for IE

    Does anybody know of any script like that?

    Thanks,
    Alex
     
  2. ChiefNX

    ChiefNX Well-Known Member

    Posts:
    269
    Likes Received:
    0
    Joined:
    Apr 23, 2006
    It is possible to do that sort of thing with a JavaScript.

    I don't really think you should be told though, as your solution to just redirect those without FF or Opera is a horrible idea as you will turn away 60% of your visitors.

    If you want help with browser consistency, I would be happy to help though.
     
  3. HydrogeN

    HydrogeN Well-Known Member

    Posts:
    2,532
    Likes Received:
    0
    Joined:
    Sep 7, 2004
    Or add a message saying the page views best in Opera or firefox and link them to the sites.

    It is far more respectful to inform them instead of forcing them.
     
  4. Canada Eh895

    Canada Eh895 Well-Known Member

    Age:
    37
    Posts:
    499
    Likes Received:
    0
    Joined:
    Dec 23, 2005
    Location:
    New Brunswick, Canada
    Yeah.. Thats what I think I will do, add a link at the bottom.

    Anyone know of a way that I can set it to stay that way, so that they do not have to click a link every time, using cookies or something?
     
  5. .//XeN-

    .//XeN- Well-Known Member

    Age:
    35
    Posts:
    1,387
    Likes Received:
    0
    Joined:
    Sep 18, 2005
  6. Pinocchio

    Pinocchio Well-Known Member

    Posts:
    1,793
    Likes Received:
    0
    Joined:
    Feb 19, 2006
    Location:
    Location Location
    It would be some sort of dhtml script, right?
     

Share This Page