JavaScript Redirect Test: Mac Users

Discussion in 'Web Design and Development (archive)' started by surge42, Feb 3, 2004.

  1. surge42
    Expand Collapse
    macrumors newbie

    Joined:
    Feb 3, 2004
    #1
    I'm working on a redirect script that redirects based on web users with Mac computers. Unfortunately I don't have a Mac computer to test it. Could you click the link and confirm that it works for me?

    http://www.fichterwebdesign.com/redirecttest/index.html

    If all goes well you will be redirected to a page with with the words "MAC USERS" centered inside it.

    If you click the link and you see nothing or some script error occurs well.... its back to the drawing board.

    As far as I can see the JavaScript is ok but I'm not 100% sure.

    Thanks in advance for the help.
    Scott Fichter
    West Chester PA
     
  2. Mr. Anderson
    Expand Collapse
    Moderator emeritus

    Mr. Anderson

    Joined:
    Nov 1, 2001
    Location:
    VA
    #2
    I got a lime green banner that said all others.

    I'm on mac OSX.3 running safari 1.2

    D
     
  3. surge42
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Feb 3, 2004
    #3
    Much thanks

    Hmm.... that's not the result I was looking for but the result will still work for me.

    Thanks Mr. Anderson
     
  4. bousozoku
    Expand Collapse
    Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #4
    I got a chartreuse banner which said "ALL OTHERS". :D

    I'm using Mozilla 1.6 on Mac OS X v10.3.2.
     
  5. robbyc23
    Expand Collapse
    macrumors newbie

    Joined:
    Jan 26, 2004
    Location:
    Ireland
    #5
    Yellow banner....All others

    OSX 10.2 Safari 1.0.1

    although...

    with Explorer 5.2, nothing happened (blank screen).

    Good Luck,

    Robby
     
  6. parenthesis
    Expand Collapse
    macrumors member

    Joined:
    Mar 22, 2003
    Location:
    Here and there
    #6
    Using Opera on Win XP, I get a bright red screen with
    =4) window.location.replace("OTHERS.html") //if IE 4+ else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4) window.location.replace("IE.html") //Default goto page (NOT NS 4+ and NOT IE 4+) else window.location="IE.html" REDIRECT

    at the top.

    *shrug*
     
  7. surge42
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Feb 3, 2004
    #7
    You should not see the bright red screen

    that's the redirect page.

    You found and ERROR!

    Thanks man
     
  8. thecow
    Expand Collapse
    macrumors 6502

    Joined:
    Nov 24, 2003
    Location:
    Timonium MD
    #8
    With safari 1.2 and Mac OS 10.3.2 I get a green box that says all others. With IE 5.2.3 I get a blank screen.
     
  9. mms
    Expand Collapse
    macrumors 6502a

    Joined:
    Oct 8, 2003
    Location:
    CA
    #9
    Blank, OS 9/IE 5.1. That's what I get for using Classic...
     

Share This Page