How do I view title text for a web page on a mobile device? XKCD on my kindle or phone just doesn't cut it.  I do all my other morning reading from the comfort of the ivory throne, but always have to revisit XKCD when I'm at a full blown computer with a mouse because I can't access the title text for the comic.

Is there any way to display the title text on a mobile device?
It's not generally possible unless specifically supported in some way by your browser, but you can create bookmarklets in JavaScript that add image title text to the web page as regular text paragraphs. How well that works depends on the layout of the web page.

One possible implementation is the following as URL of a bookmark:


  javascript:(function(){for(var i=0;i&lt;document.images.length;i++){var t=document.createTextNode(document.images[i].title); document.images[i].parentNode.insertBefore(t, document.images[i].nextSibling);}})();


This will add the image title text just after every image on the web page. For XKCD, it looks like this:



It's not easy to type on iOS, but you can use iCloud to sync it between desktop and iOS device.