You'll find the name of the browser's layout engine is typically included in the user-agent string. Using Javascript you can access this through the navigator object. See: navigator.userAgent
To redirect to another URI you can set window.location...
So, your code might look something a little like this:
<script type="text/javascript">
if (navigator.userAgent.indexOf('Gecko') > 0)
window.location = "http://www.example.com";
</script>
Be aware it is possible for the user agent string to be faked. If your browser detection needs to be more resilient then you may want to research 'browser sniffing'.
It's likely there are already scripts that will do this for you and freely available to use. Unfortunately I don't have one to suggest at this time. Apologies.
LaxLoafer
Junior Poster in Training
68 posts since Aug 2011
Reputation Points: 43
Solved Threads: 12