Save to Mendeley

A Safari extension.

I just released a Safari extension, and open sourced it on GitHub, that replaces the Mendeley bookmarklet functionality. Personally I don't have the Favorites bar visible, because of this, using the bookmarklet involved several steps: going to the Bookmarks menu, then Favorites, then Save to Mendeley. While it's "only" 3 steps, it quickly becomes annoying if you're doing it a lot - as am I, because of my thesis - and, as such, having this functionality 1-click away is like fresh water on a hot summer day.

The obvious answer was creating a Safari toolbar extension - how hard can it be anyway.

Well it turns out that while it's pretty easy to get going, there are some difficulties along the way. Like realising that it won't be possible to just load a script directly into the page, but instead it needs to be injected into it using less obvious ways. Now, while this might all be very easy for someone who is experienced with HTML and JavaScript, for me it was a bit more tiresom. One thing to note is that Apple has excellent documentation about the development of extensions (I wish that some of the documentation for iOS and OS X was this good).

Anyway, I digress. This extension can be downloaded here and the source code is available at https://github.com/lm2s/save-to-mendeley. I submitted it to the Extensions Gallery and it'll, hopefully, be available there soon.

Note: this extension is not officially supported by Mendeley Ltd. All contact regarding this extension, including support requests, should be directed at me via email or twitter.

Posted on Mar 6
Written by Luís Marques Silva