I'm attempting to create a javascript in which it detects what browser is viewing my web page. The page seems to only work in Fire Fox, and so I want the page to only work as such. So far, I have this code.
<script type="text/javascript">
if (navigator.appCodeName = "Netscape")
{...