ابحث في الدعم

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 have this problem
  • 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).