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.
wgetfile {
menu = "wGet &file";
$tmp = getclipboard();
id(ID_COPY_LINK_LOCATION?);
exec("wget -P/mydocs/download " . getclipboard());
setclipboard($tmp);
}
This goes in the menus.cfg file in all blocks that contain 'LinkPopup?' in the name:
macros(wgetfile) -