General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
Posted by: cfpp2p
Date: July 08, 2015 06:37PM

In v75 main.kmm I see:

setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
setmenu($__m,macro,"Block A&dvertisement",KM_ToggleAdblock,"Block Page Co&lors");

This looks strange/wrong/bug?

"Block Page Co&lors"

Just wanted to let know. Not sure where to post things like this, but hope its OK.

Options: ReplyQuote
Re: setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
Posted by: JamesD
Date: July 08, 2015 07:05PM

Quote
cfpp2p
setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");

A setmenu statement's last parameter is the position in menu '$__m', before which the system is place the new menu item, "Block F&lash". This just means the Block Flash will appear before Block Page Colors when the menu is displayed.

Options: ReplyQuote
Re: setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
Posted by: cfpp2p
Date: July 08, 2015 07:18PM

OK, thanks for explaining this. Appreciated.

Options: ReplyQuote
Re: setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
Posted by: siria
Date: July 08, 2015 10:16PM

grinning smiley
Yes I understand such syntax details can look rather confusing, but there's a page in the wiki to explain macrolanguage:
http://kmeleonbrowser.org/wiki/MacroLanguage2#setmenu()
(That link is also in the beginning of almost every kmm file)

Options: ReplyQuote
Re: setmenu($__m,macro,"Block F&lash",KM_ToggleFlashblock,"Block Page Co&lors");
Posted by: cfpp2p
Date: July 10, 2015 03:50PM

Quote
siria
grinning smiley
Yes I understand such syntax details can look rather confusing, but there's a page in the wiki to explain macrolanguage:
http://kmeleonbrowser.org/wiki/MacroLanguage2#setmenu()
(That link is also in the beginning of almost every kmm file)

Thanks again. “PLEASE READ THIS OWNER’S MANUAL BEFORE UNPACKING THE DEVICE" For better or worse I usually don't go along these lines winking smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.