Skip to content

Instantly share code, notes, and snippets.

@tsuemura
Created August 31, 2019 04:35
Show Gist options
  • Save tsuemura/85491105167c7f441c1308d9a5924da3 to your computer and use it in GitHub Desktop.
Save tsuemura/85491105167c7f441c1308d9a5924da3 to your computer and use it in GitHub Desktop.
AmazonのURLを短くするやつ
javascript:(function(){location.href=location.href.match(/https*:\/\/[a-z.]*\//)[0]+location.href.match(/dp\/[A-Z0-9]{10}/)[0]})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment