ちょっと改良版
javascript: function closeHatebuWindow(){ with(document.body){if(lastChild.tagName=='IFRAME')removeChild(lastChild)} } ( function(){ var b=document.body; var a=document.createElement('iframe'); with(a.style){ position='absolute'; left=b.scrollLeft+'px'; top=b.scrollTop+'px'; width='550px'; height='600px'; zIndex=999999 } a.src='http://b.hatena.ne.jp/add?mode=confirm&is_bm=1&title='+escape(document.title)+'&url='+escape(location.href); b.appendChild(a); b.addEventListener("mouseup",closeHatebuWindow,true) } )();
やはりブックマーク追加後のフレーム自動削除ができない…。何かいい方法は無いか…