Link cleaning extensions for PopClip
I’ve just added a couple of extensions to the PopClip collection. They lengthen short urls and clean query strings out. One (LinkCleaner) is for replacing text in an editor, and the other (CopyCleanLinks) is for copying to the clipboard.
Both of them have the same set of modifier keys:
- Holding down Option will strip all query strings. By default it will only strip Google Analytics strings (UTM).
- Holding down Command will strip all text except for URLs, returning the cleaned versions of any urls in the text as a newline-separated list
- Holding down both will do — surprise — both.
The scripts use LongURL to lengthen any short urls found, and then a basic regex to find Google query strings and other “?x=y” type of query strings.
Download the bunch and install what you like! The source is up on GitHub.
Brett's PopClip Extensions v1.45.2
Download Brett's PopClip Extensions v1.45.2
A few PopClip extensions for Markdown writing and other useful tools
Updated 02/07/23. Changelog