Magnolia Posted February 5, 2005 Posted February 5, 2005 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? Quote
Ayman Posted February 5, 2005 Posted February 5, 2005 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> Quote
Magnolia Posted March 28, 2005 Author Posted March 28, 2005 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> <{POST_SNAPBACK}> Thank you so much! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.