General :  K-Meleon Forum
General discussion about K-Meleon. 
Manually installing a Firefox add-on
Posted by: Zero3K
Date: March 19, 2014 09:23AM

Is it possible to do so? If so, how? (I am asking because I would like to be able to use the official LastPass addon with K-Meleon.)

Edited 1 time(s). Last edit at 03/20/2014 08:18AM by Zero3K.

Options: ReplyQuote
Re: Manually installing an add-on
Posted by: JamesD
Date: March 19, 2014 11:25PM

It is sometimes possible. It is also complicated. I have had mixed results with this method.

If the addon has a .jar file and manifest then they should be copied to the "extensions" folder in the KM root folder. If you have no extensions folder you should make one. If you have to make an extensions folder, then you will likely need to add a line in the file "chrome.manifest" which is in the root folder. If the line below does not exist in chrome.manifest, the add it and save the file.
manifest extensions/extensions.manifest

In the extensions folder, find or create a file named extensions.manifest. Add a line to that file which points to the manifest file for the jar file you added to extensions folder. My extensions.manifest file looks like this.
manifest policymanager.manifest
manifest exexcept.manifest
manifest passwordexporter.manifest

In the three extensions which I have there needs to be a method for the user to execute the code. That is done with a .kmm file. The one for Policy Manager looks like this.
# K-Meleon Macros (
#---------------Policies Manager -----------

if(($ARG == "page")+($ARG=="link")){
$HostAdd=  ($ARG=="page")? $URL :$LinkURL;
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;

setmenu(Document,macro,"Policies Manager page","PoliciesManager(page)",-1);
setmenu(LinkOpenExternal,macro,"Policies Manager Link","PoliciesManager(link)",-1);
setmenu(PoliciesManager,macro,"Policies Manager","PoliciesManager()");

# --------------------------------------

This is a very brief overview. It fits only the case where you have a .jar file for the extension. Even then it does not always work. I have Policy Manager and exexceptions working, but I having trouble upgrading the passwordexporter.

Post back here with the details of what you find/have for lasspass. I have never used it myself, but perhaps someone else will have some information.

Options: ReplyQuote
Re: Manually installing an add-on
Posted by: siria
Date: March 20, 2014 02:04AM

Uhm, good info that I'll have to bookmark, just to clarify a probable misunderstanding for clueless readers who might get a wrong impression:

This extremely complicated way is only about trying to install add-ons which were made for another browser, for FIREFOX, not applies to true K-Meleon addons!

Installing add-ons which were meant for K-Meleon itself is in most cases as easy as dropping a downloaded *.kmm file into the macros folder, that's all. There are a couple more complicated ones out there too, but those are exceptions.
Add-ons for K-Meleon are mostly called extensions or macros, but it's basically the same thing. There exist many in various places (, this forum etc.), and if anyone needs just one easy little thing and asks in this forum, chances are not bad someone might make it for him. Not always, but often, depends on difficulty ;-)

Perhaps change the first title into "Manually installing a FIREFOX add-on"?

Edited 3 time(s). Last edit at 03/20/2014 02:07AM by siria.

Options: ReplyQuote
Re: Manually installing a Firefox add-on
Posted by: guenter
Date: March 24, 2014 01:53AM

JamesD, thx for updating me and others!

Firefox Extensions were installed as early as 0.8 or so by MonkeeSage.

As JamesD already pointed out: You always need to call the functionality which You just installed with a K-Meleon macro. One of the earliest, most simple examples that is still in use with little modifications shows perhaps well what You do.

Red: Call the Xul file that starts the Xul-Chrome Application.

Blue: Create a visible menu item in Preferences.

Green: Initialize the macro by unique name.

A jar tester had been created by alain. It helped You to find out which file to start and whether an app was easy to adapt. Maybe it will be updated when 74 is finished.

# K-Meleon Macros (

# ---------- mtypes Extension (MIME Type Editor) -------------------------------------------------------------------
# Dependencies : main.kmm (OpenURL)
# Resources : -
# Preferences : -
# ------------------------------------------------------------------------------------------------------------------

$OpenURL="chrome://mtypes/content/pref/pref.xul"; &OpenURL_InNewWindow;

# ----- PRIVATE

# edit menu
setmenu(Preferences,macro,"MIME T&ypes",mtypes);

# ------------------------------------------------------------------------------------------------------------------

Edited 1 time(s). Last edit at 03/24/2014 01:56AM by guenter.

Options: ReplyQuote
Re: Manually installing a Firefox add-on
Posted by: 4td8s
Date: June 13, 2014 11:51PM

I'll wait til the true KM extensions or addons be released when KM74 goes final release later this year. for now I can live without installing any FF addon on K-meleon 74 since things are pretty stable.

Options: ReplyQuote

K-Meleon forum is powered by Phorum.