General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Disabling F9 key
Posted by: Freddie
Date: November 06, 2015 03:54PM

I'd like to disable the F9 key in K-Meleon, because we're running the browser in Kiosk Mode and are using F9 for another function. How could I do this? Is there a way to make an Accelerator for F9 that just does nothing maybe?

Thanks!

Options: ReplyQuote
Re: Disabling F9 key
Posted by: JamesD
Date: November 06, 2015 05:43PM

The F9 key is set to toggle images in the main.kmm file in root\macros. To disable that setting you can comment the line by inserting a # symbol in the first position.

_pref_SetAccels{
setaccel(VK_F7,"macros(pref_ToggleJavaScript)");
setaccel(VK_F8,"macros(pref_TogglePopups)");
#setaccel(VK_F9,"macros(pref_ToggleImages)");
}
$OnInit=$OnInit."_pref_SetAccels;_pref_BuildMenu;";

Options: ReplyQuote
Re: Disabling F9 key
Posted by: Freddie
Date: November 12, 2015 09:14PM

That did it, thanks so much!!

Options: ReplyQuote


K-Meleon forum is powered by Phorum.