ニコニコ動画をTumblrに投稿するためのブックマークレット(bookmarklet)

javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.tumblr.com/share',l=d.location,e=encodeURIComponent;if(/nicovideo.jp/.test(l.host)){var params=location.href.match(/.*(sm[0-9]{7})/)[1];s='<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/'+params+'"></script><noscript><a href="http://www.nicovideo.jp/watch/'+params+'">'+document.title+'</a></noscript>'}var p='?v=3&u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s);u=f+p;try{if(!/^(.*\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt()}catch(z){a=function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a()}void(0)

というかすでに作成されてる方は
たくさんいらっしゃるのですが、どれもちゃんと表示されなかったので
自分で、作ってみました^^