Date: Thu, 13 Sep 2007 12:52:08 +0100 From: "Frank Shute" <frank@esperance-linux.co.uk> To: freebsd-questions@freebsd.org Subject: Re: F11 in Firefox Message-ID: <20070913115208.GA1332@melon.esperance-linux.co.uk> In-Reply-To: <20070912174315.GA95082@parts-unknown.org> References: <20070912174315.GA95082@parts-unknown.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070913115208.GA1332>