Mozilla 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 प्रत्युत्तर दें
  • 43
  • 1 view
  • के द्वारा अंतिम प्रतियुतर 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).