Jump to content

Recommended Posts

Posted

Until recently, I could access the domain of my site ( http://www.sugandya.us/ ) with no problem in mozilla. But now, it keeps forwarding to a page that doesn't exsist anymore. ( http://www.sugandya.us/subsites.html ), and there's no forwarding or redirect tags in the index page that I know of.

 

 

However, it works just fine in other browsers.

 

I haven't touched my site for a while, so it's not on my end. What happened and how do I fix this?

Posted

There is JavaScript code in your index.html that forwards Mozilla browsers to subsites.html.

 

><script><!--
var skipPage = true; bAgent = window.navigator.userAgent; bAppName = window.navigator.appName; bMozIdx = bAgent.indexOf("Mozilla/");
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/4") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/5") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bMozIdx >= 0) &&
   (parseInt(bAgent.substring(bMozIdx+8, bMozIdx+10)) >= 6)) skipPage = false;
if (skipPage) { location = /*URL*/'subsites.html'; }
                                                                                                                           
//--></script>

  • 1 month later...
Posted
There is JavaScript code in your index.html that forwards Mozilla browsers to subsites.html.

 

><script><!--
var skipPage = true; bAgent = window.navigator.userAgent; bAppName = window.navigator.appName; bMozIdx = bAgent.indexOf("Mozilla/");
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/4") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/5") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bMozIdx >= 0) &&
   (parseInt(bAgent.substring(bMozIdx+8, bMozIdx+10)) >= 6)) skipPage = false;
if (skipPage) { location = /*URL*/'subsites.html'; }
                                                                                                                           
//--></script>

 

 

Thank you so much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...