This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox 7 loops indefinitely when the URL includes an anchor link

  • 3 respuestas
  • 13 tienen este problema
  • 5 visitas
  • Última respuesta de Arithon

more options

We have a bug with the web site we are developing that only occurs with Firefox 7. Earlier versions of Firefox and all other major browsers work as expected.

We have a link to a page that includes an anchor link in the url. When I navigate to this page Firefox reloads the page in an infinite loop. If I remove the anchor link from the end of the URL, then the page works as expected.

We have a bug with the web site we are developing that only occurs with Firefox 7. Earlier versions of Firefox and all other major browsers work as expected. We have a link to a page that includes an anchor link in the url. When I navigate to this page Firefox reloads the page in an infinite loop. If I remove the anchor link from the end of the URL, then the page works as expected.

Todas las respuestas (3)

more options

Is there JavaScript running on that page that looks at the anchor?

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

There is no JavaScript on the page that runs at startup, just on button clicks. The page also works in earlier versions of FireFox, and all versions of Chrome, Opera, and IE.

more options

Having the exact same problem in Firefox 8. MVC2 site on IIS7, link to page with anchor tag e.g. "www.mysite.com/index.aspx#item5" resulted in infinite refresh loop.

Solved the problem, through trial and error, by removing reference to:-

<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

Can anyone explain why?

Modificadas por cor-el el