ããããæ¢åºã ãããã©ãçããã£ããæ¸ãç·´ç¿ã¨ãããã¨ã§ã²ã¨ã¤ã
// ==UserScript== // @name Get YouTube flv // @namespace http://d.hatena.ne.jp/KGA/ // @author watta // @description Create link to download flv. // @include http://*.youtube.com/watch* // ==/UserScript== (function() { var base_url = 'http://www.youtube.com'; var get_flv = document.getElementById('playerDiv').firstChild.src.replace(/player2\.swf/, 'get_video'); var anchor = document.createElement('a'); anchor.href = base_url + get_flv; anchor.innerHTML = '<img src="/img/fav_w_icon.gif" border="0" class="alignMid" alt="Download video" />'; document.getElementsByTagName('h1')[0].appendChild(anchor); }());
ãããªé¢¨ã«ã¿ã¤ãã«ã®æ¨ªã«ã¢ã¤ã³ã³ã表示ãããã
ããã¾ã.
ã§ã¤ãªããããã®ã¯è¯ããªãã®ããªã