Automatically shorten Amazon product URL.
Amazon URL Shortener Extension
When you visit a long URL Amazon product page:
> https://www.amazon.com/Fire-Tablet-7/dp/B07HZQBBKL/ref=sr_1_1?dchild=1&keywords=Kindle&qid=1604166896&sr=8-1
this extension automatically rewrites the URL into a shorter one:
> https://www.amazon.com/dp/B07HZQBBKL
Read more
> https://www.amazon.com/Fire-Tablet-7/dp/B07HZQBBKL/ref=sr_1_1?dchild=1&keywords=Kindle&qid=1604166896&sr=8-1
this extension automatically rewrites the URL into a shorter one:
> https://www.amazon.com/dp/B07HZQBBKL
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Amazon URL Shortener", "description": "Automatically shorten Amazon product URL.", "version": "1.4.0", "icons": { "16": "images/icon16.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "content_scripts": [ { "js": [ "assets/content-script-loader.main.ts.accf8e62.6c781f20.js" ], "matches": [ "https://smile.amazon.co.uk/*", "https://smile.amazon.com/*", "https://smile.amazon.de/*", "https://www.amazon.ae/*", "https://www.amazon.au/*", "https://www.amazon.ca/*", "https://www.amazon.cn/*", "https://www.amazon.co.jp/*", "https://www.amazon.co.uk/*", "https://www.amazon.com.br/*", "https://www.amazon.com.mx/*", "https://www.amazon.com.tr/*", "https://www.amazon.com/*", "https://www.amazon.de/*", "https://www.amazon.es/*", "https://www.amazon.fr/*", "https://www.amazon.in/*", "https://www.amazon.it/*", "https://www.amazon.nl/*", "https://www.amazon.sa/*", "https://www.amazon.se/*", "https://www.amazon.sg/*" ], "run_at": "document_end" } ], "web_accessible_resources": [ { "matches": [ "https://smile.amazon.co.uk/*", "https://smile.amazon.com/*", "https://smile.amazon.de/*", "https://www.amazon.ae/*", "https://www.amazon.au/*", "https://www.amazon.ca/*", "https://www.amazon.cn/*", "https://www.amazon.co.jp/*", "https://www.amazon.co.uk/*", "https://www.amazon.com.br/*", "https://www.amazon.com.mx/*", "https://www.amazon.com.tr/*", "https://www.amazon.com/*", "https://www.amazon.de/*", "https://www.amazon.es/*", "https://www.amazon.fr/*", "https://www.amazon.in/*", "https://www.amazon.it/*", "https://www.amazon.nl/*", "https://www.amazon.sa/*", "https://www.amazon.se/*", "https://www.amazon.sg/*" ], "resources": [ "assets/main.ts.accf8e62.js" ], "use_dynamic_url": true } ]}
Read more