If you are looking to create a Bookmarklet, this is THE best place to start – http://bit.ly/c9j5H4
I guess this qualifies as an open source project — pick any license you want. Behold the code to make the xkcd <img title> readable on a touch screen webkit browser.
I call it <xkcd title>.
Code:
var x=document.getElementsByClassName('s');
x=x[2].getElementsByTagName('img');
alert(x[0].getAttribute('title'));
//by:VACUBOMB.COM
HOWTO
- Open & bookmark http://ncrn.gs/c7dQSV on your mobile webkit browser (iPhone/iPad/Android/WebOS/etc).
- Rename the bookmarklet to “<xkcd title>” or whatever you want.
- Edit the bookmarklet address and remove everything before “javascript:”
- Open any comic on XKCD and then open the bookmarklet, magic!
Made with love by VACUBOMB.

