K-Meleon

KMeleonWiki > Resources > MacroLibrary > KmmKeepVid

Submitted by: kko, originally by 666



Notes:

This macro integrates the KeepVid web service which may help you to save Flash Movies from YouTube and other video sites to disk.


Updates:

2007-06-19
Updated to the K-Meleon 1.1 macro system.




Open your User Macro Folder (Edit > Configuration > User-Defined Macros) or your Macro Folder
(Edit > Configuration > Macros) and create the following text files:

KeepVid.kmm

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage).
# ---------- KeepVid -----------------------------------------------------------------------------------------------
#
# Dependencies : main.kmm (OpenURL), sendto.kmm (menus)
# Resources    : -
# Preferences  : -
#
# ------------------------------------------------------------------------------------------------------------------

KeepVid{
menugrayed=(hostname($URL)=="");
$OpenURL="http://keepvid.com/?url=".$URL; &OpenURL_InNew;
}

# ----- PRIVATE

_KeepVid_BuildMenu{
index($macroModules,";SendTo;")>-1?setmenu($_SendTo_Page,macro,"Keep&Vid",KeepVid):setmenu(DocumentOpenExternal,macro,"Keep&Vid",KeepVid);
}
$OnInit=$OnInit."_KeepVid_BuildMenu;";

# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."KeepVid;";


Comments & Questions

K-Meleon

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