Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How to stop firefox from auto focusing on text boxes

  • 3 antwurd
  • 1 hat dit probleem
  • 4 werjeftes
  • Lêste antwurd fan cor-el

more options

There is an extremely annoying behavior of firefox, that it automatically focuses on text boxes when a page loads, even if the text does not have the html autofocus attribute. This wouldn't be so bad on its own, the main problem is that it happens after a big delay, up to a few seconds after the textbox has loaded. This frequently causes problems like me manually focusing the text box I want to use, start writing, and then mid-word firefox changes the focus to a totally different text box. It drives me up the wall, and I can't find a solution for it. I've tried disabling the browser.autofocus setting in about:config, to no avail because it's not being focused because of an autofocus attribute, also I tried adding the setting capability.policy.default.HTMLInputElement.focus;noAccess but this didn't work either. Please help

There is an extremely annoying behavior of firefox, that it automatically focuses on text boxes when a page loads, even if the text does not have the html autofocus attribute. This wouldn't be so bad on its own, the main problem is that it happens after a big delay, up to a few seconds after the textbox has loaded. This frequently causes problems like me manually focusing the text box I want to use, start writing, and then mid-word firefox changes the focus to a totally different text box. It drives me up the wall, and I can't find a solution for it. I've tried disabling the browser.autofocus setting in about:config, to no avail because it's not being focused because of an autofocus attribute, also I tried adding the setting capability.policy.default.HTMLInputElement.focus;noAccess but this didn't work either. Please help

Alle antwurden (3)

more options

Try to toggle browser.autofocus to false on the about:config page. You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Thanks but as I said I've already tried that.cor-el said

Try to toggle browser.autofocus to false on the about:config page. You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Thanks but as I said I've already tried that.

more options

If JavaScript is used to set focus to the field and not the autofocus attribute then only blocking this script could prevent this. If you know that a web page behaves this way then you will have to wait until the page has finished loading (no spinning throbber and a reload icon instead of the stop button). CAPS (capability.policy.default) prefs are no longer supported.