Stop Sites From Stealing The Focus in Firefox

Sick of sites that steal the cursor (known as the focus) while you are typing? Here's how to stop that in Firefox.
  • Surf to about:config
  • right-click and select "new->string"
If you want to disable ALL attempts to autofocus:
  • Preference Name: capability.policy.default.HTMLInputElement.focus
  • Value:  noAccess
If you want to restrict certain annoying sites only, follow the same steps where name=value for the following three pair:
  • capability.policy.policynames=nofocus
  • capability.policy.nofocus.sites=http://www.google.com http:://www.yahoo.com
  • capability.policy.nofocus.HTMLInputElement.focus=noAccess



Source

No comments

Post a Comment