25 Jun 2002 jooon   » (Journeyer)

Bookmarklets

mglazer wrote about bookmarklets. The Wayback bookmarklet idea was nice. I modified it slightly to get the Google cache instead. This will solve slashdotted pages much better, because the Google cache is more recent, than what you get from wayback machine, and also faster. I removed the replace(/res:[^#]*#/,'') because I don't know when it's useful and it works fine without, but added an enclosing escape() to quote special characters like &, which otherwise would get eaten by Google. Not sure what void(null) does at the end either, but I let it stay. I really don't like javascript. For me, it's a tool of pure destruction, like a weapon. I know "people kill people, not guns", but people just suck at writing javascript, and it has caused so much agony over the years it has existed. Bookmarklets are good though, but they are only on my computer because I put them there and can modify them as I want.

Google Cache Add this link as a bookmark and use in case of emergency, or just click on it to see the google cache of the current page.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!