K-Meleon

KMeleonWiki > Resources > MacroLibrary > !Download with wget

Added by: Al. (macro originally conceived by Po)



Notes:

This macro adds an entry to the context menu which allows you to right-click and download a file using the command line application wget.

In Macros:

wgetfile {
menu = "wGet &file";
$tmp = getclipboard();
id(ID_COPY_LINK_LOCATION?);
exec("wget -P/mydocs/download " . getclipboard());
setclipboard($tmp);
}


In Menus:

This goes in the menus.cfg file in all block that contain 'LinkPopup?' in the name:


View Page{

macros(wgetfile)
-


K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.