はてなブックマークする ← このリンクをブックマークして使う

↓ブックマークレットのソースコード


javascript:(function(){var%20d=(new%20Date);var%20s=document.createElement('script');s.charset='UTF-8';s.src='http://b.hatena.ne.jp/js/Hatena/Bookmark/let.js?'+d.getFullYear()+d.getMonth()+d.getDate();(document.getElementsByTagName('head')[0]||document.body).appendChild(s);})();

エントリーのはてブコメント ← このリンクをブックマークして使う

↓ブックマークレットのソースコード


javascript:location.href='http://b.hatena.ne.jp/entry/'+escape(location.href);

サイトの人気エントリー ← このリンクをブックマークして使う

↓ブックマークレットのソースコード


javascript:(function(){var%20a='http://b.hatena.ne.jp/entrylist?url=';var%20b='&sort=count';var%20h=location.host;var%20p=location.protocol;var%20d=location.href.match(/^http:\/\/d\.hatena\.ne\.jp\/[^\/]+\//);var%20u='';if%20(d){u=(encodeURIComponent)?encodeURIComponent(d):encodeURI(d);}else{u=(encodeURIComponent)?encodeURIComponent(p+'//'+h+'/'):encodeURI(p+'//'+h+'/');}location.href=a+u+b;})();

サイトの新着エントリー ← このリンクをブックマークして使う

↓ブックマークレットのソースコード。しきい値パラメータである threshold=1 のところを変えると、表示に含めるエントリの条件として、最低ブックマーク数を指定できる。


javascript:(function(){var%20a='http://b.hatena.ne.jp/entrylist?threshold=1&url=';var%20b='&sort=hot';var%20h=location.host;var%20p=location.protocol;var%20d=location.href.match(/^http:\/\/d\.hatena\.ne\.jp\/[^\/]+\//);var%20u='';if%20(d){u=(encodeURIComponent)?encodeURIComponent(d):encodeURI(d);}else{u=(encodeURIComponent)?encodeURIComponent(p+'//'+h+'/'):encodeURI(p+'//'+h+'/');}location.href=a+u+b;})();

Ref.

tags: hatena_bookmark bookmarklet

Posted by NI-Lab. (@nilab)