Kentaro Kuribayashi's blog

Software Engineering, Management, Books, and Daily Journal.

Entries from 2012-05-06 to 1 day

Replacing Affiliate ID

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\-2…