General
: K-Meleon Web Browser Forum
General discussion about K-Meleon
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
make tinyurl
Posted by:
disrupted
Date: March 08, 2009 12:11AM
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- make tinyurl---------------------------------------------------------------------------------------------------------------
$_tool_path=getfolder(RootFolder)."\\Tools";
$_km_path=getfolder(RootFolder)."\\k-meleon.exe";
tinyurl{
#menugrayed=(hostname($URL)=="");
$tiny = $URL;
$tiny = prompt("This will Create TinyURL from the following address:", "Generate TinyUrl", $tiny);
$tiny == "" ? "" : opentab("http
ee
://t1ny.us/l.php?long=".$tiny);
}
tinyurl_BuildMenu{
setmenu(WebServices,macro,"Generate TinyURL",tinyurl);
}
$OnInit=$OnInit."tinyurl_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."tinyurl;";
Options:
Reply
•
Quote
Re: make tinyurl
Posted by:
Zoohooter
Date: March 08, 2009 12:25PM
Where in KM do you place this nice creation? tia
Options:
Reply
•
Quote
Re: make tinyurl
Posted by:
desga2
Date: March 08, 2009 07:27PM
Edit -> Configuration -> User-Defined Macros
Remember change "http
ee
://" by "
http://
" in the code.
K-Meleon in Spanish
Options:
Reply
•
Quote
Re: make tinyurl
Posted by:
Zoohooter
Date: March 08, 2009 08:41PM
Thanks for that info Desga2
Options:
Reply
•
Quote
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English