April 20, 2009

YouTubeで自動的に高画質動画に飛ぶGreasemonkeyスクリプト

// ==UserScript==
// @name        Jump to fmt=18
// @namespace  http://satomacoto.blogspot.com/
// @include     http://*youtube.com/watch*
// @description  YouTubeで自動的に高画質動画(fmt=18)に飛ぶ
// ==/UserScript==

(function() {
var url = location.href;
if(url.indexOf("&fmt")<0){
location.replace(url + "&fmt=18");
}
})();