Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

If you reload with the resize event of the window, you will fall into the phenomenon of repeating reload forever.

  • 1 resposta
  • 0 têm este problema
  • 1 visualização
  • Última resposta por Paul

more options

Firefox for Android has a bug-like phenomenon that you can't see in other web browsers, Edge, Chrome, Opera, or Firefox for Win and Linux. This phenomenon occurs in Firefox for Android regardless of whether "desktop site" is "on" or "off" (*1).

  • 1: Not tested with browsers other than the above. I haven't tried Firefox for iOS either.

The phenomenon is a bug that if you reload in the resize event processing of the window, it will be reloaded permanently until you stop processing or close the browser. A simple code like the one below does this:

<script defer> window. addEventListener( "resize", () => { // The result is the same even if it is controlled by flags, etc. location.reload(); }, false ); </script>

RESIZE & RELOAD

Please improve!

Firefox for Android has a bug-like phenomenon that you can't see in other web browsers, Edge, Chrome, Opera, or Firefox for Win and Linux. This phenomenon occurs in Firefox for Android regardless of whether "desktop site" is "on" or "off" (*1). *1: Not tested with browsers other than the above. I haven't tried Firefox for iOS either. The phenomenon is a bug that if you reload in the resize event processing of the window, it will be reloaded permanently until you stop processing or close the browser. A simple code like the one below does this: <html> <head> <script defer> window. addEventListener( "resize", () => { // The result is the same even if it is controlled by flags, etc. location.reload(); }, false ); </script> </head> <body> <h1>RESIZE & RELOAD</h1> </body> </html> Please improve!

Todas as respostas (1)

more options

Hi,

The people who answer questions here, for the most part, are other users volunteering their time (like me), not Mozilla employees or developers. If you want to leave feedback for developers, you can go to the Firefox Help menu and select Share ideas and feedback…. Alternatively, you can use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

You can also file a bug report or feature request. See File a bug report or feature request for Mozilla products for details.