/*
* @title amazon_url_shaper
* @description www.amazon.co.jp/dp/xxxxxxxxxx
* @include http://www.anazon.*
* @license MIT License
*/
(function() {
var re=/([A-Z0-9]{10})/;
u=location.origin+'/dp/'+location.pathname.match(re)[1];
console.log(u);
history.replaceState(null, null, u);
})()