PDA

View Full Version : Browser redirection script



Elvijs
10-27-2005, 01:04 PM
Can anyone help me? I got the browser redirection script from Dynamicdrive. I thought that everything was working fine, but when I tried to open my page with Opera it redirected me to wrong page. I experimented with other scripts for this, but every script had the same problem. Microsoft Internet Explorer and Opera conflicted, one of them never opened right pages. Please help me or give me right script, because I have to finish my wep page tomorrow.

Link to the script: http://www.dynamicdrive.com/dynamicindex9/bredirect.htm

Excuse me about grammatical mistakes because English is not my language.

Twey
10-27-2005, 01:06 PM
The quick red fox jumps over the sly green monkey.

Twey
10-27-2005, 01:31 PM
When using that script, which page does it send Opera to that it shouldn't?

Elvijs
10-27-2005, 01:32 PM
To the page for Internet Explorer.

Twey
10-27-2005, 01:59 PM
I believe this to be unavoidable. Opera handles most tasks in the same way as IE, and identifies itself the same way as IE. It isn't something to worry about, unless you have something on the IE page that you know doesn't work in Opera.

Elvijs
10-27-2005, 02:01 PM
Unfortunately, I have a framed page. I planned to show it in IE, but in other browsers non-framed page. Well, I'll try to find another solution, thank you.

Twey
10-27-2005, 02:04 PM
Try using this script (http://www.dynamicdrive.com/dynamicindex9/browsersniffer.htm) to detect the browser instead. It uses several object tests that should be able to differentiate between IE and Opera.