Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више
Архивирано

Problem with Firefox android browser on particular site

specialpython

This website I manage http://stephenpusey.org has a simple javascript that causes Firefox Android browser to constantly refresh rendering the content of the pages inaccessible. This only occurs with the Android version of the browser - not with the desktop version. The default mobile browser and Chrome for Android do not have this behaviour and nor does Safari.

The javascript is: function winResize() { location.href=location.href; }

and is called on the web pages with

onResize="winResize()

I would appreciate your comments or a remedy to this.

This website I manage http://stephenpusey.org has a simple javascript that causes Firefox Android browser to constantly refresh rendering the content of the pages inaccessible. This only occurs with the Android version of the browser - not with the desktop version. The default mobile browser and Chrome for Android do not have this behaviour and nor does Safari. The javascript is: function winResize() { location.href=location.href; } and is called on the web pages with onResize="winResize() I would appreciate your comments or a remedy to this.

Сви одговори (1)

You might be able to use css here in the meantime: https://www.w3.org/TR/css3-mediaqueries/

However please also ask this in stack overflow .com