PDA

View Full Version : JavaScript Redirect Test: Mac Users


surge42
Feb 3, 2004, 11:44 AM
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

Mr. Anderson
Feb 3, 2004, 11:46 AM
I got a lime green banner that said all others.

I'm on mac OSX.3 running safari 1.2

D

surge42
Feb 3, 2004, 12:14 PM
Hmm.... that's not the result I was looking for but the result will still work for me.

Thanks Mr. Anderson

bousozoku
Feb 3, 2004, 01:08 PM
I got a chartreuse banner which said "ALL OTHERS". :D

I'm using Mozilla 1.6 on Mac OS X v10.3.2.

robbyc23
Feb 3, 2004, 01:51 PM
OSX 10.2 Safari 1.0.1

although...

with Explorer 5.2, nothing happened (blank screen).

Good Luck,

Robby

parenthesis
Feb 3, 2004, 02:04 PM
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*

surge42
Feb 3, 2004, 03:33 PM
You should not see the bright red screen

that's the redirect page.

You found and ERROR!

Thanks man

thecow
Feb 3, 2004, 04:03 PM
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.

mms
Feb 19, 2004, 01:25 AM
Blank, OS 9/IE 5.1. That's what I get for using Classic...