Extensions :  K-Meleon Forum
All about K-Meleon extensions. 
FreeDownloadManager Extension
Posted by: WasiAzeem
Date: April 08, 2010 10:10PM

Here is a little macro to enable integeration with FreeDownloadManager.
It was made because on my system, the suggested way to enable the Netscape integeration doesnt work, I dont know about others.
On the other hand, it uses far less resources as the npfdm.dll Netscape plugin.

Create a file in macro folder: fdm.kmm
Copy paste the following Code:

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ----------  FreeDownloadManager --------------------------------------------------------------------
# Dependencies	: main.kmm (Go), sendto.kmm (menus)
# Resources	: -
# Preferences	: -
# ----------------------------------------------------------------------------------------------------

macroinfo=_("Open link in FreeDownloadManager");
$_FDM_Open=$LinkURL;  &_FDM_Open;

# ----- PRIVATE

# try to locate the Program Files directory:
$__data=readreg("HKLM","\\Software\\FreeDownloadManager.ORG\\Free Download Manager\\Path");
# fallback command line:
$_FDM="\"".$__data."\\fdm.exe\" %1";
# try to get IE's command line from the registry:
# catch invalid IE7 registry data:
$__data==""?0:$_FDM=$__data; exec(sub("%1",urldecode($_FDM_Open),$_FDM));

$__m="Open In &FreeDownloadManager";
setaccel("CTRL ALT F","macros(FDM_OpenLink)");

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

Line 22 shows the FDM install path on my system, you have to change it according to the path of FDM on your system.
Line 26 contains registry path to pick:
So you have to create this registry with your path or use the following .reg script (beware to change the FDM install Path according to your system):

Using the FDM plugin npfdm.dll increses the load time of K-Meleon, this doesnt.

Options: ReplyQuote
Re: FreeDownloadManager Extension
Posted by: disrupted
Date: April 08, 2010 11:40PM

thanks wazi, can you make it into a 7z extension?
you can take a look at the similar freshdownload 7z extension

if not, don't worry about it..i'll compress it and add it

thanks again for the macro..and hope there will be more to come

Options: ReplyQuote
Re: FreeDownloadManager Extension
Posted by: WasiAzeem
Date: May 05, 2010 08:43AM

sorry disrupted i am late in replying. Well if you can make it a 7z thing I will be thankful, yes I will see how it is made and next time i'll try to make it myself,
thanks, and yes , I have posted another script to watch megavideo videos without java script, please check that also for errors.

Options: ReplyQuote

K-Meleon forum is powered by Phorum.