Added the tiny JavaScript snippet below to replace Hatena's Amazon affiliate id to my own one:
$(document.body).delegate('a', 'click', function () { this.href.match('hatena-hamazou-22') && (this.href = this.href.replace(/hatena\-hamazou\-22/, 'antipop-22')) });
Does it violate Hatena's reguration?