javascript:( function() { if(location.href.search(/[^0-9A-Z]([B0-9][0-9A-Z]{9})([^0-9A-Z]|$)/)!=-1){ var url='https://www.amazon.co.jp/dp/'+RegExp.$1+'?tag=yto-22'; window.open( "https://twitter.com/intent/tweet?url=" + encodeURIComponent(url) + "&text=" + encodeURIComponent(document.title), "_blank", "width=600,height=300"); } } )();