Occasionally you want to look at the original version of a node. Fortunately blakem provides this very service. Unfortunately I can never remember the URL since I have little brain. Having had to go look it up again recently I threw together the following little bookmarklet:

javascript:open( 'http://perlmonks.thepen.com/' + document.URL.substr( +42, document.URL.length) + '_orig.html' )

Click on this while looking at something with a node_id will take you to the original on thepen.com. Only tested in Safari, but should be easy enough to tweak.

Replies are listed 'Best First'.
Re: Bookmarklet to view original of node
by bmann (Priest) on Jul 17, 2004 at 19:36 UTC
    Very cool++. I've seen nodes change and often wondered what exactly was changed.

    Anyway, here's a little tweak (got rid of the magic number) to make it work with perlmonks.(org|net|com), www.perlmonks.(org|net|com) as well as that funky ads.pair.com url that I saw somewhere:

    javascript:open( 'http://perlmonks.thepen.com/' + document.URL.substr(document.URL.indexOf('=') + 1, document.URL.length) + '_orig.html' )

      I just didn't have the heart to remove a 'natural' 42 :-)

Re: Bookmarklet to view original of node
by gaal (Parson) on Jul 17, 2004 at 19:18 UTC
    ++ for the magic number. :-)