Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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 nzaghachinzaghachi
  • 43
  • 1 view
  • Nzaghachi ikpeazụ nke 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).