Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=jsnj] [quote=desga2] I think this line is wrong: [code] pluginmsg(toolbars,"AddButton","Adblock Plus,adblockplus,macros("."adblockplus_tog"."),"."Adblock Plus".",".$abptip.",16,16,"."adblockplus.bmp[1],adblockplus.bmp[0]",""); [/code] Right line must be: [code] pluginmsg(toolbars,"AddButton","Adblock Plus,adblockplus,macros(adblockplus_tog),Adblock Plus,".$abptip.",16,16,adblockplus.bmp[1],adblockplus.bmp[0]",""); [/code] [url=http://kmeleon.sourceforge.net/wiki/PluginCommands]Remember documentation about it[/url]: pluginmsg(toolbars, "AddButton", "<ToolbarName>, <ButtonName>, <Command>, <MenuName>, <TooltipText>, <ButtonWidth>, <ButtonHeight>, hot.bmp[0], cold.bmp[0], dead.bmp[0]",""); The third parameter is a long string with button definition and you only have to cut the string to add with dots some text in a variable, for example $abptip, but in this case the rest aren't variables you not need cut the string and add it with dots.[/quote] That's what I thought too awhile back when I first saw example codes in a couple macros that added a button, but your example above which seems to make sense to me too, causes problems. Even though it does add the button, that same View - Toolbars bug reappears with that code, but not with the original one I posted which is based on just about all the other macro buttons available in modules including your old flashblock macro module. BTW, the latest ABP kplugin which Wladimir Palant just posted places a weird immovable toolbar just below KM's toolbars. So until that's remedied, disrupted's version should still be available.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development