→TopHatenar
TopHatenarのブックマークレット - kaisehのブログ
- はてダ以外からも飛べるように (はてな外で使うとid入力を促す)
// location.href javascript:0,function(h,t){if(h!=(h=h.replace(/\w\.hatena\.ne\.jp\/([-\w]+).*/,t+'$1'))||(h='http://'+t+prompt(t,'')))location.href=h}(location.href,'tophatenar.com/view/') // open javascript:0,function(h,t){if(h!=(h=h.replace(/\w\.hatena\.ne\.jp\/([-\w]+).*/,t+'$1'))||(h='http://'+t+prompt(t,'')))open(h)}(location.href,'tophatenar.com/view/')