PDA

View Full Version : I need testers.....



lostinbeta
January 5th, 2003, 04:21 PM
Hey everyone,

I wrote this quick and dirty Javascript function to check what browser you are using and redirect to a page according to that browser.

The browsers I check for are IE, NS/Mozilla, and Opera.


What I need is for some people to test this on <B>different</B> versions of these browsers and tell me what happens. Here is a list of browsers that have already been tested.

<B>Internet Explorer 6 Service Pack 1:</B> returns IE version
<B>Netscape 7:</B> Returns newNS/Mozilla Version
<B>Mozilla 1.21 and Mozilla 1.3a:</B> Returns newNS/Mozilla Version
<B>Opera 7</B>: Returns Opera Version



If anyone has earlier versions of these browsers (especially NS and IE) I would really like to know of this script works for it.


You can test it here

CLICK TO TEST MY SCRIPT (http://www.8ballcreations.com/lostinbeta/javascript/checkBrowser.html)

Click on the link above, then in that page click the link that says "Check Browser Version" and let me know what text returns in the page that it directs you to.

I appreciate anyone who tests it :)

andr.in
January 5th, 2003, 04:24 PM
I have IE6 and it worked! YAY!
man I have no idea how you do these things! Very cool! only haven't figured out the use of this yet... :P

Alex
January 5th, 2003, 04:25 PM
i did it and i clicked - check version and it said internet explorer version

lostinbeta
January 5th, 2003, 04:27 PM
I would like it if you checked on all your browser types and versions (NS, IE, Opera if you have it), just copy and paste this address into your address bar on different browsers. If you have other browsers and test it, please let me know the browser and the version :)

Syko: Is that IE6SP1 or just IE6? And this serves a purpose for sites that use Javascript or CSS files that aren't supported by one browser or the other.



http://www.8ballcreations.com/lostinbeta/javascript/checkBrowser.html

andr.in
January 5th, 2003, 04:31 PM
umm... I think it's just IE6... :-\ :P

kode
January 5th, 2003, 04:35 PM
IE6 SP1 works fine for me

lostinbeta
January 5th, 2003, 04:36 PM
Cool. So that scratches out IE6, IE6 SP1, NS 7, Mozilla 1.21 and 1.3a, and Opera 7.


Anyone with earlier versions?

pom
January 5th, 2003, 04:38 PM
Now it seems to works :crazy:
NN 6 -> Newer Netscape / Mozilla Version
IE 5.5 -> Internet Explorer Version

kode
January 5th, 2003, 04:38 PM
I think I have IE5 in the other pc .. I'll tell in 5 minutes

mdipi
January 5th, 2003, 04:39 PM
lost. brb i will check on my IE 5.5, but i got the same as Sy and i dont know what i am using for 6.

SureShot
January 5th, 2003, 04:41 PM
I have the newest IE6 with SP1 installed but all I get is

"Internet Explorer Version"

I think could be my firewall or my security settings that wont send the info your script wants....

but again - I really have no idea :)

andr.in
January 5th, 2003, 04:46 PM
Originally posted by SureShot
I have the newest IE6 with SP1 installed but all I get is

"Internet Explorer Version"
ummm..:sure: isn't tha the way it should be?

kode
January 5th, 2003, 04:53 PM
hey lost .. my brother says it works with IE5 [stupid computer .. anyone uses it]

joeytomatoes
January 5th, 2003, 05:18 PM
Opera 6.05
And it returned 'Opera Version'

lostinbeta
January 5th, 2003, 05:54 PM
Originally posted by SureShot
I have the newest IE6 with SP1 installed but all I get is

"Internet Explorer Version"

I think could be my firewall or my security settings that wont send the info your script wants....

but again - I really have no idea :)


Yeah, I don't have it pick out the exact version, which is why I was asking you guys to tell me what versions you are using.


I am using a much simpler method to browser detection the usual indexOf stuff, because if I used indexOf, it would be like 50 lines of code instead of like 5 ;)

lostinbeta
January 5th, 2003, 05:56 PM
Originally posted by ilyaslamasse
Now it seems to works :crazy:
NN 6 -> Newer Netscape / Mozilla Version
IE 5.5 -> Internet Explorer Version

Yeah, I updated my script Ilyas, I came up with a new method to test older and newer Netscape versions. It apparently worked, thanks :)

SureShot
January 5th, 2003, 07:20 PM
ooooh ok cool.

I thought it was going to tell me the exact version I was running. Sorry :blush: I'm an idiot I:-)

lostinbeta
January 5th, 2003, 10:00 PM
Phil: No problem man.


Sureshot: Your not an idiot.

andr.in
January 6th, 2003, 12:32 AM
Originally posted by lostinbeta
Phil: No problem man.


Sureshot: Your not an idiot.
:PROFLMAO!:P:P

lostinbeta
January 6th, 2003, 01:39 PM
::bump::

Figured I would fuel this fire once more before I leave, so when I come back next maybe I will have more browser versions to add to the list.

Although the tested browsers seem to be good now.

It works for.....

IE5, IE5.5, IE6, IE6SP1
NS6, NS7
Mozilla 1.21, Mozilla 1.3a
Opera 6.05, Opera 7


That is 10 browsers.... wow.... ;)

I am sure not many people have below IE5 and NS6 anymore, but if you do, I would be grateful :beam:

ribcage
January 6th, 2003, 03:04 PM
and the test comes up IE version....
with no specific version #


hope this helps

thediablo
January 6th, 2003, 03:08 PM
Very nice and simple JS you got there lost :D

the only browser that sucks at JS, is NS4, anyone got it?


Test test test!!!

lostinbeta
January 6th, 2003, 05:25 PM
Ribcage: It doesn't return the specific version number you have, just what browser you are using (IE, Netscape, Mozilla, or Opera).

To be able to get the specific version I would have to write out so many more lines than what I have no, and I am going for simple, clean, short, and functional. I call it the Quick and Dirty Redirction method ;)


thediablo: I see someone took a look at my source ;), glad you like it, pretty simple eh? It is the method I use for certain things, this is my first time using it for redirection. I never got to test it on multiple browser, I always just assumed it worked, which is why I am testing it now. I had some of the mods test it out for me and I found out that it really didn't work in some cases such as NS6, and Opera (found out the opera one myself), so I went back to the drawing board and rewrote it, so I needed people to test... just in case ;)