[RndTbl] humor: what's your editor?
Sean Walberg
sean at ertw.com
Sun Feb 3 11:17:28 CST 2008
BTW, for any Greasemonkey users out there, the following script will display
the hidden comments below the comic.
Sean
// ==UserScript==
// @name xkcdimagetitles
// @namespace http://ertw.com
// @include http://xkcd.com/*
// @description Displays the image title
// ==/UserScript==
images = document.evaluate(
'//img[@title]',
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i = 0; i < images.snapshotLength; i++) {
img = images.snapshotItem(i);
foo = document.createElement('div');
foo.innerHTML=img.getAttribute("title");
img.parentNode.insertBefore(foo, img.nextSibling);
}
On Feb 2, 2008 10:30 PM, Montana Quiring <montanaq at gmail.com> wrote:
> Hello,
>
> This kind of settles the whole emacs vs. vi debate:
> http://xkcd.com/378/
>
> -Montana
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable
>
>
--
Sean Walberg <sean at ertw.com> http://ertw.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.muug.mb.ca/pipermail/roundtable/attachments/20080203/1d844011/attachment.html
More information about the Roundtable
mailing list