2006-09-04 AmazonのURLからASINを取得 javascript asin=document.location.href.match(/(ASIN|dp|product|detail)\/([0-9A-Z]{10})/)[2] ASINが10文字固定なのかよくわかりませんが。