K-Meleon
KMeleonWiki > Resources > MacroLibrary > KmmWhoIs
Submitted by: kko
Notes:
This macro integrates a WHOIS service to find out more about domains and their owners.
Open your User Macro Folder (Edit > Configuration > User-Defined Macros) or your Macro Folder
(Edit > Configuration > Macros) and create the following text files:
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ---------- WHOIS ------------------------------------------------------------------------------------------------- # # Dependencies : main.kmm (OpenURL), sendto.kmm (menus) # Resources : - # Preferences : - # # ------------------------------------------------------------------------------------------------------------------ WHOIS{ menugrayed=(hostname($URL)==""); $OpenURL="http://whois.domaintools.com/".hostname($URL); &OpenURL_InNew; } # ----- PRIVATE _WHOIS_BuildMenu{ index($macroModules,";SendTo;")>-1?setmenu($_SendTo_Page,macro,"&WHOIS",WHOIS):setmenu(DocumentOpenExternal,macro,"&WHOIS",WHOIS); } $OnInit=$OnInit."_WHOIS_BuildMenu;"; # ------------------------------------------------------------------------------------------------------------------ $macroModules=$macroModules."WHOIS;";