Extensions :  K-Meleon Forum
All about K-Meleon extensions. 
New macros here and there, just collecting
Posted by: siria
Date: October 05, 2014 02:31AM

So many get lost in other parts of the forum, buried between long discussions. Perhaps this can become a little list for those random and often sponaneous ones, also too tiny ones for an own thread.
Feel free to add more yourself!
By no means complete:

---------
KMEXT-archive for KM74
Some macros/extensions need to be modified for KM74.
(Not complete / Check the readme files and info text on http://kmext.sourceforge.net)
http://kmext.sourceforge.net/km74

---------
AdBlock Plus in KM74 (how to by guenter+GeorgeHall)
http://kmeleon.sourceforge.net/forum/read.php?8,129657,page=3
http://kmeleon.sourceforge.net/forum/read.php?1,130572

---------
Speed Dial (links to older macros)
http://kmeleon.sourceforge.net/forum/read.php?8,129657,page=4

---------
livehttpheaders for KM74 (guenter)
http://kmeleon.sourceforge.net/forum/read.php?3,129797,129854#msg-129854
One of several HTTP monitor addons for Firefox that work for K-Meleon.

---------
3 macros for a Proxy-Button
http://kmeleon.sourceforge.net/forum/read.php?9,129715
(ProxTog, ProxTog2, Proxy2)

---------
displaytoolbarline (JamesD)
http://kmeleon.sourceforge.net/forum/read.php?8,129657,129785#msg-129785
Toggle hide the lines between toolbars, with menu entry in "View".
It's a native pref with a checkbox in F2>GUI>Toolbars, but the pref is missing in KM74.

---------
CarrySession (JamesD)
http://kmeleon.sourceforge.net/forum/read.php?8,129178,129534#msg-129534

---------
SS_restart.kmm / SkinSwitcher (JamesD)
http://kmeleon.sourceforge.net/forum/read.php?8,129178,129524#msg-129524
Helps to restore former toolbar positions after trying out new skins

---------
Tabs Multi-Line
Not an extension, but great new and nearly unknown function yet in KM74, so still mentioning it here.
If you often have LOTS of tabs open, you can arrange them in two or more lines! Open about:config and set this pref:
kmeleon.tabs.multiline BOOL true
Currently this needs a fix tab width, or the last tab isn't shown, although you can still access it with the "next/previous tab" buttons. Set a fix width in F2>Toolbars>Tab Bar: min width same as max width

---------
Some Zoom macros for automatic text zoom (beta)
by JamesD, by dorian, by siria (sitezoom-macro tries full pagezoom, but no chance yet)
http://kmeleon.sourceforge.net/forum/read.php?1,130180

---------
WinSizeMenu
Adds menu to hide TitleBar and for changing window size.
Plus extra function, but doesn't work on all systems and versions:
A bug-workaround if title bar is hidden and the taskbar -if set to background- doesn't pop up when touching the screen bottom with mouse
http://kmeleon.sourceforge.net/forum/read.php?9,103175,131902#msg-131902

---------



Edited 7 time(s). Last edit at 02/15/2015 08:01PM by siria.

Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: rodocop
Date: October 27, 2014 12:53AM

displaytitlebar.kmm by JamesD

#  K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- displaytitlebar.kmm
# ---------- Toggle between titlebar show and hide ( requires restart )
#
# Dependencies        : main.kmm
# Resources           :   
# Preferences         : "kmeleon.display.hideTitleBar"
# Version             : 1.0  2014-08-15  		
# --------------------------------------------------------------------------------

_displaytitlebar_toggle {
menuchecked=getpref( BOOL , "kmeleon.display.hideTitleBar" )==true;
togglepref(BOOL, "kmeleon.display.hideTitleBar");
alert(_("Restart of browser required for \ndisplay title bar change to take effect."));
}

_displaytitlebar_Build_Menu {
setmenu("Toolbars", macro, _("Hide Title bar"), "_displaytitlebar_toggle", -1);	
}

## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
$OnInit=$OnInit."_displaytitlebar_Build_Menu;";
$macroModules=$macroModules."displaytitlebar;";


fullscnmenu.kmm by JamesD

#  K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- fullscnmenu.kmm
# ---------- Toggle between menu show and menu noshow in fullscreen
#
# Dependencies        : main.kmm
# Resources           : fullscreen plugin  
# Preferences         : "kmeleon.plugins.fullscreen.hide_rebar"
# Version             : 1.0  2014-07-16  		
# --------------------------------------------------------------------------------

fullscnmenu_toggle {
togglepref(BOOL, "kmeleon.plugins.fullscreen.hide_rebar");
plugin(fullscreen); plugin(fullscreen);
}

_fullscnmenu_SetAccels {
	setaccel( "CTRL SHIFT M", "macros(fullscnmenu_toggle)" );
}

## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
$OnInit=$OnInit."_fullscnmenu_SetAccels;";
$macroModules=$macroModules."fullscnmenu;";


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Attachments: xpinstallext.kmm (1.1 KB)  
Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: guenter
Date: December 12, 2014 09:26PM

Fix to Google translate pronunciation button. (disrupted)

http://kmeleon.sourceforge.net/forum/read.php?9,131305

Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: JamesD
Date: October 09, 2015 12:41AM

Fast and full featured native restart for K-Meleon.

http://kmeleonbrowser.org/forum/read.php?2,132731,132844#msg-132844

Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: rodocop
Date: October 10, 2015 11:48PM

xpinstallext.kmm by JamesD cool smiley
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- xpinstallext.kmm
# ---------- Switch for addon xpi intstall to KM  ----------------
#
# Dependencies	: main.kmm 
# Resources	    : 
# Preferences	: "kmeleon.install_firefox_extension"
# Author        : JamesD  
# Version       : 0.3   2014-09-03
# -------------------------------------------------------------------------

_xpinstallext_perfcheck {
$_xpinstallext_PStatus = getpref(BOOL, "kmeleon.install_firefox_extension");
$_xpinstallext_PStatus ? 0 : setpref(BOOL, "kmeleon.install_firefox_extension", false) ; 
}

_xpinstallext_toggle {
menuchecked=getpref( BOOL , "kmeleon.install_firefox_extension" )==true;
togglepref(BOOL, "kmeleon.install_firefox_extension")  ; 
}

_xpinstallext_BuildMenu {
setmenu("&Edit", macro, _("Set FireFox extension install"), _xpinstallext_toggle, -1);
}

$OnStartup=$OnStartup."_xpinstallext_perfcheck;";
$OnInit=$OnInit."_xpinstallext_BuildMenu;";
# -------------------------------------------------------------------------
$macroModules=$macroModules."xpinstallext;";


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Attachments: xpinstallext.7z (617 bytes)  
Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: JamesD
Date: April 30, 2016 04:01AM

Managing favorites in the 'Edge' browser in Windows 10.

NOTE::

The Edge browser does not store favorites in the conventional way in which all the versions of Internet Explorer did. Edge uses a database.

Based on the information siria provided in this forum posting:
http://kmeleonbrowser.org/forum/read.php?2,136001,138365#msg-138365

Requires the program 'EdgeManage' from this web site:
http://www.emmet-gray.com/Articles/EdgeManage.html


Many thanks to siria for finding this information.

Attachments: EdgeFavMgr.7z (956 bytes)  
Options: ReplyQuote
Re: New macros here and there, just collecting
Posted by: JamesD
Date: May 08, 2016 12:51AM

This is just a small macro to check the time it takes for K-Meleon to restart itself. Valid for versions 75.0 and later.

Note that you will get an empty report if you have not set the beginning of the test.

Two items are added to the Tools menu. They are:
"Set Timing to 'start' parameters" and
"START the timing test" .

Click on each one in the order shown, and the system will restart K-Meleon and note the unix time of every action until the OnLoadOnce event in the restarted browser. The information will appear in an alert message.

To keep the macro but not load it, just remove the check mark by "timingrs" in the Macro Extension section of Preferences.

Attachments: TimingRS.7z (1.1 KB)  
Options: ReplyQuote
Re: New macros here and there... >> Colors for Find-in-Page
Posted by: siria
Date: June 13, 2016 05:55PM

(Not really a macro, just a bit styling, don't know where to put)

Panzer posted a link to a german article about improvements in Firefox50. Big news for Firefox50 it sounds:
https://www.soeren-hentzschel.at/firefox/firefox-50-bekommt-suche-im-opera-12-stil/ (for Germans)

FF gets now Find-Highlighting like Opera12, they say. Huge step forward it sounds...
Now it's finally possible to highlight ALL Find-hits inside a page at once (Huh, really?? Whow... cool smiley) And to store that setting as default, supposedly not possible before either...

Can hardly believe that wasn't possible before in FF, considering it's a rather easy task, and KM could do that forever already surprised smiley And of course also store a user default setting if "highlight all" is on or off, by simply clicking the button in the Find bar cool smiley (pref kmeleon.find.highlight)

If anyone is interested, KM users can also STYLE those highlight colors for Find-in-page, since forever too. Just one of the hundred hidden settings. Actually not a pref, but discovered a few years ago that it can be done by simple CSS. Have added this css-snippet in KM1.6 in my private adblock.css. Am storing there all my little user css snippets, because this one can be toggled during a session too, unlike userContent.css where such stuff is normally supposed to go. Guess newer KM-versions can toogle both files now during sessions. Anyway, in whatever css-file you want, add this if you like to get your own Find-Colors:

/* -------- Highlight-Search: For K-Meleon's Find in page - Highlight Button: ---------
Is needed if you force a background color, otherwise highlight shows the same
(and FIND-color is in about:config ui.textSelectBackground) */

.km_hightlight_class, * .km_hightlight_class , .km_highlight_class, * .km_highlight_class
{background-color: yellow !important; color: red !important; font-weight: bold ; font-size: 16px !important; }


Options: ReplyQuote


K-Meleon forum is powered by Phorum.