Greasy Fork is available in English.

Amazon URL Shortener

Adds an option for amazon to copy a shortened link to the clipboard, available under 'Share'.

< Feedback on Amazon URL Shortener

Review: Bad - script does not work

§
Posted: 2023.02.17.

Doesn't work on Amazon, any longer. Here's the fix.

The problem is that the ID it is looking for is not on Amazon any more: "#tell-a-friend"

I changed the last line to prepend to "#addToCart" as that seems like something Amazon is not likely to remove:
document.querySelector("#addToCart").appendChild(link);

Now it works again.

FinixAuthor
§
Posted: 2024.02.17.

Hey, thanks for the feedback. I haven't been uploading updates to greasy fork anymore. You can find a more up to date version at https://openuserjs.org/scripts/Littlefinix/Amazon_URL_Shortener

Post reply

Sign in to post a reply.