Thursday, August 6, 2009

iPhone Bookmarklet to Install iPhone Bookmarklets

iPhone BookmarkletsAs a software engineer and a web developer, I have really grown to love the bookmarklet. I have a Regex Search Bookmarklet, my favorite javascript shell bookmarklet from Jesse's Bookmarklets, and of course, you've seen my blog post on Tabulate from the clever folks at Inventive Labs. However, installing bookmarklets on the iPhone without help from a computer is a royal PITA.

That's why I wrote the iPhone Bookmarklet Installer.

If you're interested in how it works, you can find details on my iPhone Installer Bookmarklet blog post. But, the short version is that I use Javascript to loop through all of the links on the page and make them look like anchor tags so you can just bookmark them on the iPhone and remove everything before the anchor tag character '#'.

With that out of the way, here's how you use it:
  1. Run the bookmarklet on this page by clicking the iPhone Bookmarklet Installer. You should see all of the bookmarklets on this page change styles (They'll look something like this).
  2. Click the bookmarklet you wish to install (n.b., the page won't reload).
  3. Bookmark the page.
  4. Edit the bookmark and remove everything up to and including the # character.
  5. Name the bookmarklet appropriately.
  6. Save and enjoy.

4 comments:

  1. Futz.me bookmarklet (send yourself "stuff" from the web):

    Send anything using futz.me from your iphone:

    javascript:location.href='http://futz.me/XXX%20'+encodeURIComponent(location.href)+'%20-s%20'+encodeURIComponent(document.title)

    ...Just change the "XXX" to your futz.me username

    ReplyDelete
  2. I like you approach to bookmarklet installation. I wrote an article outlining installing the Delicious bookmarklet, but my process' downside is the copy/paste of the bit of JavaScript. Great work around.

    http://www.louddog.com/bloggity/2010/04/how-to-save-to-delicious-from.php

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Thanks, this is great, been using it for ages. Building up some of my favourite bookmarklets at http://m4rkh.co.vu

    ReplyDelete