ニコニコ動画を楽に貼り付けるよー 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)){s='<div style="width: 318px; border: 1px solid #ccc;"><iframe src="http://www.nicovideo.jp/thumb?v=sm'+d.paste_url.site_url.value.match(/sm(.*)/)[1]+'" width