>>10
Even 486 can handle youtube video(@medium quality)
You download it like this, open VLC or some player with optimizied codecs and enjoy(no flash, no HTML, no java):
// ==UserScript==
// @id Youtube
// @name YoutubeDownloader
// @version 1.0
// @namespace
// @author FrozenVoid
// @description download video in any format with correct title
// @include
http://www.youtube.com/watch*
// @run-at document-end
// ==/UserScript==
a=unsafeWindow.document.getElementById("movie_player").attributes.flashvars
a=a.value.split("&");
function longest(a,b){
if (a.length==b.length) return 0;
if(a.length>b.length) return -1;
return 1;
}
a=a.sort(longest);
a=a[0];
a=a.split("=")[1];
a=unescape(a).split("&");
function haslink(e,i,a){return e.search("itag=")!=-1 }
a=a.filter(haslink);
j=[];
function construct(e,i,a){
if(e.length<10) return;
s=e.split(",");
fmtmap={
43:"640x360 WebM med",
44:"854x480 WebM HQ",
45:"1280x720 WebM HD",
35:"854x480 HQ flv",
5:"400x226 LowestQ flv",
34:"640x360 Med flv",
18:"480x360 LowQ mp4",
38:"4096x3072 ULTRA mp4",
37:"1920x1080 HD mp4",
22:"1280x720 HD mp4",
6:"480x360 mono flv",
13:"176x144 Mobile mono ",
17:"176x144 Mobile stereo"
}
dfmt=fmtmap[s[0].match(/\d+/)[0]];
if(!dfmt){dfmt="Unknown Format:"+s[0].match(/\d+/)[0];}
nref="<a href='"+unescape(s[1].split("=")[1])+"&title="+document.title.replace(/[^\w]/gim,"_")+"'>Format:"+dfmt+"</a><br>";
j.push(nref);}
a.forEach(construct);
unsafeWindow.document.getElementById("movie_player").parentNode.parentNode.parentNode.innerHTML=j;