Jump to content

Redirect Firefox


NSW42

Recommended Posts

This is my issue, I have a redirection for firefox users when they view a members profile, the problem is the below code works fine for IE users but in FF it shows the code of the script and does not redirect, now I thought it may have been a server side issue with the text/print but text/html is enabled so I'm at one big loss as to what the hell is going on, just a heads up, the said file has a slightly different ext the normal "profile.msnw", but as I said it works fine in IE and certain other sites I know that use the exact same code and file name.

<html>

<head>
  <title></title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <script language=javascript>
  <!--//
  function go_redirect() {
    location.href="./proredirect.php?" + document.location.search.substring(1);
  }

  //-->
  </script>
  </head>
<BODY Onload="go_redirect()"></BODY>
</html>

 

Link to comment
https://forums.phpfreaks.com/topic/233682-redirect-firefox/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.