Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] Can someone find for me the name of the menu which appears when you right click on a tab. I thought it was "TabButtonPopup". I found that in menus.cfg [code] # ----- Tabs %ifplugin tabs TabButtonPopup{ !New !CloseTab !NavTab - :T&abs } %endif [/code] Either that is the wrong item or my setmenu statements are not valid. [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # # ---------- EndTabLR.kmm # ---------- K-Meleon Macro Language Close all tabs to left or right of current --- # # Dependencies : main.kmm, tabs plugin active # Resources : - # Preferences : - # Version : 0.2 2009-07-22 # -------------------------------------------------------------------------------- _CloseAllLeft { alert("close all left", "DEBUG", INFO); } _CloseAllRight { alert("close all right", "DEBUG", INFO); } _EndTabLR_ModMenu{ ### add another option to menu setmenu("TabButtonPopup",macro,_("Close All Left"), _CloseAllLeft ); setmenu("TabButtonPopup",macro,_("Close All Right"),_CloseAllRight ); $OnStartup=$OnStartup."_EndTabLR_ModMenu;"; #$OnInit=$OnInit."_EndTabLR_ModMenu;"; $macroModules=$macroModules."EndTabLR;"; [/code][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development