Problem with Firefox android browser on particular site
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