F11 in Firefox

Frank Shute frank at esperance-linux.co.uk
Thu Sep 13 04:52:16 PDT 2007


On Wed, Sep 12, 2007 at 10:43:15AM -0700, David Benfell wrote:
>
> Hello all,
> 
> Having long fingers, I occasionally hit F11 while typing into
> a text box in Firefox.  F11 does something truly horrible that
> I never under any circumstances want.
> 
> It moves the window partially off screen such that the window
> controls are inaccessible.
> 
> As I said, I NEVER EVER want this function.  It is, in my view,
> a damnable bug.  The only way I can get control back is to exit
> Firefox.
> 
> How do I kill it?
> 
> Thanks!


$ mkdir ~/tmp
$ cp /usr/local/lib/firefox/chrome/toolkit.jar ~/tmp
$ cd ~/tmp
$ jar -xf toolkit.jar
$ vim ./content/global/platformHTMLBindings.xml

add: <handler event="keypress" keycode="VK_F11" command="" />
somewhere under: <binding id="inputFields">

$ jar -cf toolkit.jar content/
# mv toolkit.jar /usr/local/lib/firefox/chrome/

Restart firefox.

Hope that works. Haven't tested it but I change some of the
keybindings to be more vi-like in that way.

-- 

 Frank 

	
 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 



More information about the freebsd-questions mailing list