Amazon short URL

Replace article URL with short Amazon permalink

These are versions of this script where the code was updated. Show all versions.

  • v4.1.0 2023-03-28
    • Added support for Audible products
    • Removed Amazon smile URLs because smile project is discontinued
  • v4.0.8 2022-11-02

    added amazon.pl

  • v4.0.7 2022-10-30

    Add amazon.se

  • v4.0.6 2022-10-25

    Added MIT license

  • v4.0.6 2022-10-25

    restructure regexp

  • v4.0.5 2022-10-24

    Added Belgian amazon.com.be

  • v4.0.4 2020-07-01 add turkish and UAE domains
  • v4.0.3 2020-02-06 Something with item variations (Apparently I gave it an update a long time ago...)
  • v4.0.0 2019-04-09 URL now resembles changes in product variation like color, size, ...
  • v3.0 2019-03-15 end with newline
  • v3.0 2019-03-12 Added support for amazon smile
  • v2.7 2019-02-15 getAsin() function for reuse
  • v2.6 2018-04-24 Metadata update
  • v2.5 2018-03-16 Added Icon
  • v2.4 2018-02-26
  • v2.3 2018-02-26 fixed flaw in regexp concerning .com.mx .com.au .com.br
  • v2.2 2018-02-16
  • v2.2 2017-12-31 added comment
  • v2.2 2017-10-11
  • v2.2 2017-10-11 use strict mode
  • v2.1 2017-10-10 Usually use ASIN from Product ID object, otherwise try to get it from canonical link
  • v2 2017-10-10 Fixed typo in RegEx which bugged amazon.com domains; Changed method to retrieve ASIN from canonical link to also support Amazon Video and others.
  • v1 2017-09-15
  • v1 2017-09-15
  • v1 2017-09-15