日付別表示ページ(各見出しがname属性で区別される)タイプのダイアリーだと、ブックマークするときに見出しが取得できなくて面倒なんですよね。ということで、作ってみました。 javascript:t=document.title;a=location.hash;if (a){e=document.anchors[a.substring(1)].parentNode;if (e.nodeName.toLowerCase().indexOf('h')==0)t+=' '+e.textContent;}location='http://b.hatena.ne.jp/add?mode=confirm&title='+escape(t)+'&url='+escape(location.href); 見出しの冒頭の■をクリックしてURLに#〜が付くようにしてから、このbookamarkletを使ってくだ