861
you are viewing a single comment's thread
view the rest of the comments
[-] Frigidlollipop@lemmy.world 1 points 3 days ago

This was interesting to read. As a noob at this stuff, how do I know where to cut off links to strip them without deleting too much? Is it different for every website?

[-] QualifiedKitten@discuss.online 2 points 2 days ago

If you're on an Android device, you can try an app such as URLCheck. A lot of times, it's anything after the question mark, but that's not always true. You can try deleting part of the url then see if the stripped down part still works, and you'll start to see the patterns.

[-] ChunkMcHorkle@lemmy.world 1 points 2 days ago* (last edited 2 days ago)

The arguments (the various codes and characters that appear after the page address) in a given URL are different for every website.

But on Amazon, every link looks something like this (I made this up, these are not valid links):

https://www.amazon.com/item-listing-or-name/dp/ABCDE12345?blahblahblahblah

Everything including and after that first question mark can go. All you really need is this part, the basic page address:

https://www.amazon.com/item-listing-or-name/dp/ABCDE12345

Again, that's only for Amazon. Arguments can contain all kinds of information, not just trackers, and some pages won't open without them. The only way to know on any site is to guess: strip out all the arguments (the bits after the question mark) and simply try the new, stripped link. If it works, it works.

[-] adarza@lemmy.ca 2 points 2 days ago

you don't even need the 'item-listing-or-name' after the domain name, just /dp/asin

amazon.com/dp/B07THZYFB4

the asin doesn't need to be in CAPS either,

this post was submitted on 16 Nov 2026
861 points (99.5% liked)

Technology

89921 readers
5758 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS