You can use these javascript codes:
code:
<html>
<script>
if(navigator.userAgent.indexOf("Firefox") != -1)
{
window.location = "http://www.mpsupport.net/index.php";
}
else
{
window.location = "http://www.mpsupport.net/ie/";
}
</script>
</html>
This will detect whether firefox is the browser and go to
http://www.mpsupport.net/index.php. If firefox is not detected then it will go to
http://www.mpsupport.net/ie/.
You can also use this for certain browsers.
code:
<html>
<script>
if(navigator.userAgent.indexOf("Firefox") != -1)
{
window.location = "http://www.mpsupport.net/index.php";
}
else if(navigator.userAgent.indexOf("MSIE") != -1)
{
window.location = "http://www.mpsupport.net/ie/";
}
else if(navigator.userAgent.indexOf("Netscape") != -1)
{
window.location = "http://www.mpsupport.net/ie/";
}
else
{
window.location = "http://www.mpsupport.net/ie/";
}
</script>
</html>