Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All


Submitted By Michele Bonazza (micheleb)


AdiURLShortener is a plugin that shortens long URLs so you won't see walls of text anymore! least not underlined blue ones!

Only URLS starting with either http:// or https:// are shortened.

You can tune the plugin in the 'Advanced' tab.

Options available:
  • set whether you want to shorten URLs you send, receive, or both
  • set whether you want image links shortened (by default the option is disabled to make this plugin work with the awesome Adinline plugin)
  • set the minimum length for URLs that you want shortened (two different thresholds can be set for incoming vs outgoing links)
  • set the shortener style for links you type: shortener vs prettify (no external service is called and the link is displayed as '', but your recipient may only see the full link if her client doesn't support HTML style links)
  • automatically convert Dropbox links to direct links (all URLs in the http(s):// are converted to the http(s):// form)

Source code

You can grab the source on GitHub, feel free to contribute!


In version 0.5.0

  1. Dropbox links can be automatically changed from http(s):// to http(s):// to skip the preview and hot-link files
  2. URLs that don't have a path after their domain name no longer get the (pointless) "shortened" string appended (e.g., stays the way it is, and is no longer "shortened" to

In version 0.4.1

  1. When using prettify as shortener style, dragged-and-dropped links are not shortened unless their description starts with 'http' (i.e. if you drag and drop a link that has a title it won't be shortened)
  2. When using as shortener, all links are shortened

In version 0.3

  1. Added option to shorten image links as well

In version 0.2

  1. new icon
  2. new preference panel
  3. plugin can be enabled for both incoming and outgoing links
  4. minimum URL length to be shortened can be customized
  5. added "prettify" link shortening style


You can reply to individual comments by clicking the "Reply" link next to each.

# by mathuaerknedam on 07/02/13 at 22:56:10

Could you add an option to shorten links to images? Thanks.

# by micheleb on 07/02/13 at 22:57:16

will do!

# by micheleb on 07/03/13 at 11:17:09

added in versione 0.3 :)

# by micheleb on 07/03/13 at 11:17:35


# by mathuaerknedam on 07/03/13 at 19:16:44


I'm not sure if it did this in a earlier version, but it looks like URLs in messages loaded from message history always use /shortened, even when I have selected.

Also, in looking at my twitter feed, I noticed that "" wasn't shortened at all.

# by micheleb on 07/03/13 at 19:53:35

I can't reproduce neither of the two issues, sorry (messages from the history are shortened according to the settings and that particular link gets shortened on my adium).
Could you please report an issue with the steps to reproduce the bug on GitHub?


# by mathuaerknedam on 07/03/13 at 19:56:15

Actually, I'm seeing something else strange, and and disabling the shortening in the prefs didn't help.

Here's how it looked with the plugin installed (regardless of whether shortening was enabled or disabled):

Here's how it looked with the plugin uninstalled:

# by micheleb on 07/03/13 at 20:06:26

hm, it looks like there's something going on with those irc://... kind of links. I guess I'll need to narrow the regex down to ignore those, thx!

# by mathuaerknedam on 07/03/13 at 21:19:07

Yes, the irc:// links shouldn't be shortened, but the bigger problem is that the message is missing all of the text between the end of the first link and the end of the second link.

# by micheleb on 07/04/13 at 12:05:00

I know, that's why I want the regex to be tighter, see
Do you have a sample url I can try? One like those in the picture you posted.

Also, is there any way we can avoid spamming this thread?

# by micheleb on 09/27/14 at 11:55:16

you can enable image link shortening by going to Preferences/Advanced/AdiURLShortener and checking the "Shorten image links" checkbox

Post a New Comment

You must be logged in to post comments.

Install | Download
55.06kb (622 downloads)

3.50 / 11 votes
Current Version: 0.5.0
Last Updated: 12/04/13