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!

Search Support

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

Disabling auto-focus of webpage form fields

  • 1 reply
  • 43 have this problem
  • 1 view
  • Last reply by chase

more options

Hi, sometimes when I'm browsing web pages, they will auto-focus on some HTML forms, which interferes with my ability to use Backspace key to go back a page. Is there any add-in or about:config way to disable forms from stealing focus?

Hi, sometimes when I'm browsing web pages, they will auto-focus on some HTML forms, which interferes with my ability to use Backspace key to go back a page. Is there any add-in or about:config way to disable forms from stealing focus?

All Replies (1)

more options

There's a security policy that allows you to prevent the scripts from focusing HTML elements, see here. So far there's no built-in GUI to set such policy, so you'll need to manually edit your user.js file.

There's also a Policy Manager add-on, which supposedly can do that for you. Note, however, that this add-on didn't work for me (as it sets quite different preferences than those described in the linked KB article).