extratone / i

All of my iOS/iPhone-related documentation, files, media, etc.
The Unlicense
46 stars 0 forks source link

Clean URLs #145

Open extratone opened 2 years ago

extratone commented 2 years ago

Clean URLs Shortcut

Social

this shortcut will clean ? and everything after it from article links. https://routinehub.co/shortcut/11081

Clean URL content after ?.

CleanURLs

https://www.newyorker.com/culture/culture-desk/choosing-my-daughters-name?utm_source=nl&utm_brand=tny&utm_mailing=TNY_Daily_021322&utm_campaign=aud-dev&utm_medium=email&utm_term=tny_daily_recirc&bxid=5bd67c2d3f92a41245df448a&cndid=48413317&hasha=f899ad8e9cb72e467b433325969e7662&hashb=6d6ddfe9b5162c369297fa5f4fad540bfd62e80d&hashc=ae2cc7939158e7f3d513eb5b1192ed20eea654f845d43dbd1ccdebe8a20a3d79&esrc=bounceX&mbid=CRMNYR012019

Becomes…

https://www.newyorker.com/culture/culture-desk/choosing-my-daughters-name

This shortcut receieves a URL as input or from the clipboard, splits the url by ?, copies only the first result of that split, and opens said URL in Safari. I created it speicifically to clean article links. Beyond those, it’s not always going to function correctly and will certainly break links including a ?s=-type query.

Video Demo


Contact

extratone commented 2 years ago

CleanURLs