General :  K-Meleon Forum
General discussion about K-Meleon. 
Toggle javascript in Hao's ccf me 0.97?
Posted by: Mello
Date: October 18, 2011 07:04PM

How can I add this feature to the F7 key please?

ccf me already has image(F9), Popup(F8) and flash(F10) toggle on/off

ccf me 0.097
https://sourceforge.net/projects/k-meleonccfme/files/k-meleonccfme/0.097.0/K-MeleonCCFME0.097.0.7z/download



Edited 2 time(s). Last edit at 10/18/2011 07:13PM by Mello.

Options: ReplyQuote
Re: Toggle javascript in Hao's ccf me 0.97?
Posted by: Mello
Date: October 19, 2011 04:36AM

O'K I've done it, thanks to jsnj.

Forum search came up with this post from him in a thread from 2005.

Quote

Tools-Adv Prefs-Accelerators...

VK_F7 = macros(JSToggle)

"function JSToggle" is to be found in the ccf me privacy.lua (lua/autoload folder)

Add this to accel.cfg (in prefs folder)
Quote

VK_F7 = luamacro(JSToggle)

above where you see
Quote

VK_F8 = luamacro(PBToggle)
VK_F9 = luamacro(ImgToggle)
VK_F10 = luamacro(toggleflashblock)

Isn't K-m fun - even for duffers like myself.



Edited 2 time(s). Last edit at 10/19/2011 05:03AM by Mello.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.