// ==UserScript==
// @name YouTubeのビデオIDをローカルサーバーに送る
// @namespace youtube-videoid
// @include http://www.youtube.com/*
// @require http://stevenlevithan.com/demo/parseuri/js/assets/parseuri.js
// ==/UserScript==
var videoId = parseUri(location.href).queryKey.v;
var img = document.createElement('img');
img.setAttribute('src', 'http://localhost:5000?video_id=' + videoId);
document.body.appendChild('img');