Extensions
: K-Meleon Web Browser Forum
All about K-Meleon extensions.
Go to:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
[quote=Matt] youtube-services_v1.6 Changelog: - previous code [code]javascript:(function(){url='http://pwnyoutube.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url;})(); [/code] replaced by a new one [code]javascript:(function(){url='http://deturl.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url+'?'+new%20Date().getTime();})(); [/code] The previous code causes constantly reload youtube page and redirects to deturl.com after opening new tab in background with any yt video. The new one works great for me but test it, please. Feedback in this matter is appreciated. - no longer working keephd.com bookmarklet replaced with simple url string, - youtube-mp3.org service added; YouTube Services > YouTube mp3, - dirpy.com intoduced video download in multiple formats; menu entry changed, now > Download video + mp3 (before > Convert to mp3), - some minor changes. [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ----- compilation of youtube services by MATT # youtube-services_v1.6 13-07-2010 tubecheck{ substr($URLBAR,0,29)=="http://www.youtube.com/watch?"?&youtubevid:&youtubeuser; } youtubeuser{ substr($URLBAR,0,27)=="http://www.youtube.com/user"?&youtubevid2:0; } youtubevid{ injectCSS("body{margin-top: 30px !important}"); open("javascript:(function(){url='http://deturl.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url+'?'+new%20Date().getTime();})();"); youtubevid2{ injectCSS("#masthead-container{border-top: 30px solid white !important}"); open("javascript:(function(){url='http://deturl.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url+'?'+new%20Date().getTime();})();"); youtubian{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); open("javascript:void((function(){var%20d=document;var%20head=d.getElementsByTagName('head')[0];if(typeof%20head=='undefined'){alert('Hey,%20wait%20coupla%20seconds%20while%20the%20page%20loads..');return;}(_s=d.createElement('script')).setAttribute('src','http://means.googlecode.com/svn/trunk/youtube/less.cowbell.js');head.appendChild(_s);return%20false;}))();"); } keephd2{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $_jcurrent=getpref(BOOL,$pref_Java); setpref(BOOL,$pref_Java, true); $OpenURL="http://keephd.com/index.php?url=".$URLBAR; $ExecMacros="OpenURL_InNew"; &ExecMacros_Frames; } vid2mp3{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $OpenURL="http://www.video2mp3.net/?url=".$URL; &OpenURL_InNew; } dirpy{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $_sanurl = substr($URLBAR,31); $OpenURL="http://dirpy.com/studio/".$_sanurl; $ExecMacros="OpenURL_InNew"; &ExecMacros_Frames; } keeptube{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $_jcurrent=getpref(BOOL,$pref_Java); setpref(BOOL,$pref_Java, true); $OpenURL="http://keep-tube.com/?url=".$URLBAR; $ExecMacros="OpenURL_InNew"; &ExecMacros_Frames; } fredtube{ menugrayed=(substr($URLBAR,0,18)!="http://www.youtube"); $kioskcomm=("-webapp"); $k_path=getfolder(RootFolder); $_video_addres=""; $_video_addres=gsub("watch?","",$URL); $_video_addres=gsub("=","/",$_video_addres); exec($k_path."\\k-meleon.exe " .$kioskcomm. "". $_video_addres); } ytubesearch{ $ytquery = prompt("Enter search query:", "YouTube Search", $ytquery); $ytquery == "" ? "" : opentab("http://www.youtube.com/results?search_query=".$ytquery); } grab_and_run{ menugrayed=(substr($URLBAR,0,29)!="http://www.youtube.com/watch?"); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $OpenURL="http://grabandrun.com/url/".$URL; &OpenURL_InNew; } youtube_mp3{ menugrayed=(substr($URLBAR,0,31)!="http://www.youtube.com/watch?v="); $_jscurrent=getpref(BOOL,$pref_JavaScript); setpref(BOOL,$pref_JavaScript, true); $_sanurl = substr($URLBAR,31); $OpenURL="http://www.youtube-mp3.org/#v=".$_sanurl; $ExecMacros="OpenURL_InNew"; &ExecMacros_Frames; } youtubers_BuildMenu{ setmenu("Youtube Services",macro,"Popout Video",fredtube); setmenu("Youtube Services",macro,"Keep Tube",keeptube); setmenu("Youtube Services",macro,"Grab n Run",grab_and_run); setmenu("Youtube Services",macro,"Youtube Extra",youtubian); setmenu("Youtube Services",macro,"Download HD",keephd2); setmenu("Youtube Services",macro,"Download mp3",vid2mp3); setmenu("Youtube Services",macro,"Download video + mp3",dirpy); setmenu("Youtube Services",macro,"YouTube mp3",youtube_mp3); setmenu("Youtube Services",separator,-1); setmenu("Youtube Services",macro,"YouTube Search",ytubesearch); } $OnInit=$OnInit."youtubers_BuildMenu;"; $OnLoad=$OnLoad."tubecheck;"; # -------------------------------------------------------------------- $macroModules=$macroModules."youtubers;"; [/code] Youtube Extra still says "Recent MAJOR changes on Youtube pages broke this tool. An (equally major) update is coming in few days..", will this ever be fixed? Special thanks goes to sickley and duffy for the heads up and disrupted who took care of the youtube services during my forum absence. A slovenian K-M user played a role, too ;-). [url=http://www.youtube.com/watch?v=RJa9kaT7Lms]Guitar God[/url][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English