Created
September 4, 2009 04:53
-
-
Save tanabe/180736 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Dokodemo Ikemen Clock | |
// @namespace http://kaihatsubu.com/ | |
// @description display ikemen clock anywhere | |
// @include http://* | |
// @include https://* | |
// ==/UserScript== | |
(function() { | |
function initialize() { | |
(function(){var d = new Date();var t = d.getHours() * 60 + d.getMinutes();if(t < 1000){t='0'+t}; var url='http://orega.tv/images/m' + t + '.jpg';var e = document.createElement("img");e.src=url;document.body.appendChild(e);e.style.position = 'absolute';e.style.top = '0px';e.style.left = '0px';})() | |
window.removeEventListener("load", initialize); | |
} | |
window.addEventListener("load", initialize, true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment