This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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).