/*
* @title random shiro-antipo
* @description http://hitode909.hatenablog.com/entry/2013/04/01/095901
* @include http://*
* @include https://*
* @license MIT License http://opensource.org/licenses/MIT
* @require
*/
// c.f. http://uso2013.paperboy.co.jp/
(function () {
var random = function (max) {
return Math.floor(Math.random() * (Number(max) + 1));
};
var bgimg = document.images[random(document.images.length - 1)].src;
location.href = 'http://hitode909.appspot.com/shiro_antipo/?url=' + encodeURIComponent(bgimg);
})();