/*
* @title Post Fotolife to Haiku easily
* @description フォトライフを楽にハイクに貼りたい
* @include http://f.hatena.ne.jp/*
* @license MIT License.
*/
(function() {
var imgBody = document.getElementById('foto-body');
var imgUrl = imgBody.getElementsByTagName('img')[0].src.replace(/[0-9?]+$/, '');;
document.location = "http://h.hatena.ne.jp/?_charset=utf-8&body="+imgUrl;
})();