[Conkeror] Prevent that a website can steal keyboard focus

Deniz Dogan deniz.a.m.dogan at gmail.com
Sun Mar 22 13:37:34 PDT 2009


2009/3/22 Daniel Clemente <dcl441-bugs at yahoo.com>:
>
>
>  Hi.
>
>  When you enter http://www.google.es/ for instance, you can type directly at the search box, because the website has focused it after load. This can be useful here but it is annoying in pages like http://de.wiktionary.org/ (which also focuses the search field), because you must press Esc each time you enter a page in order to follow links.
>
>  Is there a way to disable websites from focusing elements?
>
>  I guess most Conkeror users know better than websites where they want the keyboard focus, so a global „focus() allowed“ / „focus() not allowed“ would help.
>
>
>  Thanks
>
> Daniel

(I accidentally replied directly to Daniel, so here it is again...)

Hi, Daniel

Put this into your rc file:
browser_prevent_automatic_form_focus_mode(true);

We have been discussing shortening the name, but that's what you use today. :)

Deniz


More information about the Conkeror mailing list