I was missing for a long time a way of adding tasks to Asana from Safari in OS X so I have created and pushed to Github my own bookmarklet based on code previously posted on Stackoverflow.
I know, I know, there is already a Chrome extension available but I don’t like Chrome’s tendency to eat the battery of MBP alive…
Great idea, Hector – for some reason not working for me when I put in my API key and default workspace ID, though. Is this working for you at the moment?
Thanks James! Yes, it is working for me. Have you converted your API Key to base64 as Asana requires?
https://asana.com/developers/documentation/getting-started/authentication
# Convert API key plus colon to base64
echo -n ‘YOURAPIKEY’ | openssl enc -base64
Thanks for replying. Yes, I have. It’s just not doing anything. Safari has parsed it and escaped the line breaks (%20) – would that make a difference? Other JS bookmarklets have the same and they work.
Strange… That could be the issue because I’m using the bookmarklet in Firefox as well without any problem at all…
Odd – it’s not working in Chrome either. I’d love to get this working – any chance I could email you the actual code so you can see if I’m doing anything stupid?