Archive for the 'Bookmarklets' Category

JavaScript Shell 0.8

Tuesday, January 20th, 2004

I uploaded a new version of the JavaScript Shell today, along with a new version of the shell bookmarklet. In the new version, print() no longer returns its input. I added a new function, pr(), that acts like print() used to.

Flash bookmarklets

Friday, October 31st, 2003

The new Flash bookmarklets let you pause, rewind, and fast-forward Flash movies.

They require Scriptable Flash, so they only work in Internet Explorer and Mozilla and only on Windows (Linux: 211218; Mac: 203861).

Blogidate XML well-formedness

Tuesday, August 26th, 2003

In a comment on my previous blog post, Simon Willison writes: "I'm not too keen on popping up a new window with an external validation service. How about an alternative bookmarklet that just validates XML well-formedness (essential for those of us who use XHTML)?"

Try the new blogidate well-formedness bookmarklet. If this bookmarklet finds an error, it turns the textarea red, selects the part of the textarea where the error is, and puts the error message in the status bar (not in a dialog). If it doesn't find an error, it turns the textarea green.

Update Jan 21, 2005: added a normalize() call so the bookmarklet won't fail when the XML is more than a few kilobytes.

Update Sept 2, 2005: the Valid XHTML user script, which is based on this bookmarklet, is even more cool.

Blogidate bookmarklet: 1-click blog post validation

Monday, August 25th, 2003

"Blogidate" is a new bookmarklet that lets you validate the HTML in a blog post before posting it. It works in Mozilla but not in IE or Opera. To use it, choose the version that matches your blog's doctype and drag it to your bookmarks toolbar.

Here's a textarea so you can test the bookmarklet on this page:

Read the rest of this entry »