Skip to content

Instantly share code, notes, and snippets.

@nobodyplace
Created December 21, 2010 10:04
Show Gist options
  • Save nobodyplace/749739 to your computer and use it in GitHub Desktop.
Save nobodyplace/749739 to your computer and use it in GitHub Desktop.
ニコニコ動画の動画ページにサムネイルを表示するGreasemonkey
// ==UserScript==
// @name Nico Thumbnail
// @version 0.0.1
// @namespace http://nplll.com
// @description ニコニコ動画の動画ページにサムネイルを表示するGreasemonkey
// @include http://www.nicovideo.jp/watch/*
// @updated 2010-12-21 19:00:00
// ==/UserScript==
// 0.0.1 - 2010/12/21 リリース
(function(){
var w = unsafeWindow;
//サムネイル
var thumbnail = w.Video.thumbnail;
//表示
var e = document.getElementById('PAGEFOOTER');
var img = document.createElement('img');
img.src = thumbnail;
e.insertBefore(img, e.firstChild);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment