8
submitted 9 months ago by fer0n@lemm.ee to c/shortcuts@lemmy.world

Removes trackers and surrounding text

E.g.:

"Gerade bei #Kleinanzeigen gefunden. Wie findest du das? https://www.kleinanzeigen.de/s-anzeige/tp-link-ax5400-archer-ax73/2541682018-168-1255?utm_source=copyToPasteboard&utm_campaign=socialbuttons&utm_medium=social&utm_content=app_ios"

becomes

"https://www.kleinanzeigen.de/s-anzeige/tp-link-ax5400-archer-ax73/2541682018-168-1255"

Tracking part is from u/sharp-guru

top 4 comments
sorted by: hot top controversial new old
[-] Piecemakers3Dprints@lemmy.world -4 points 9 months ago

Or, you know, don't include everything from the "?" onward... 🤷🏼‍♂️ Pretty simple manual fix.

[-] fer0n@lemm.ee 2 points 9 months ago

Can’t tell if you’re joking or not, but I’m assuming you know that that would lead to issues in some places

[-] Piecemakers3Dprints@lemmy.world 0 points 9 months ago

Are you implying that this tool somehow doesn't run into said issues, then?

[-] fer0n@lemm.ee 2 points 9 months ago* (last edited 9 months ago)

I can’t guarantee that it won’t ever lead to an issue anywhere, but it’s specifically only removing tracking query parameters. I can guarantee if you’re removing all query parameters you’ll definitely run into an issue sooner or later.

But if you’d rather remove all query parameters feel free to adjust the shortcut or do so manually. I’m not forcing this on anyone.

this post was submitted on 10 Sep 2023
8 points (100.0% liked)

Shortcuts

1019 readers
1 users here now

Community dedicated to Apple Shortcuts.

founded 1 year ago
MODERATORS