/*
* @title はてブusersをNAVERまとめに
* @description NAVERまとめページ内リンクに、はてブ数を付加 (はてなブックマークのブックマーク数-登録数「○○users」)を加える。クリックする前に人気度がわかる。かも。
* @include http://*
* @license MIT License
* @require
* @private
* @require jQuery
*/
$("div.ArMain01 a").each(function(){ // lyContentsWrap>LyMain>ArMain01
url = $(this).attr("href");
if(url.match(/^http:\/\/www\.amazon\.co\.jp/) && url.match(/\/dp\/[A-Z0-9]{10}/)){
//url = "http://www.amazon.co.jp" + url.match(/(\/dp\/[A-Z0-9]{10})/)[1];
}
if( url && (url !="#" && !url.match(/^http:\/\/twitter.com\/#!/))){
$(this).after(' <a href="http://b.hatena.ne.jp/entry/' + url +
'" target="_blank"><img src="http://b.hatena.ne.jp/entry/image/' + url + '"></a>');
}
}
);