"Bookmarklets" are special links you add to your browser's Bookmarks Toolbar
» Drag this link:
+urlBorg (v3)
up to your Bookmarks Toolbar.
It will let you send the URL you are viewing in your browser to urlBorg
- Download urlBorg.service, unzip it, and place it in /System/Library/Services/.
- (Double-click the first time, next time you login it will start automatically).
- Hilight the URL in your Safari browser, and go to Safari->Services->ShortURL.
- After a second or two the URL will be replaced by a short one.
source code (public domain)