I've been doing a lot of bug-hunting for Mozilla, and several times I've found bookmarklets to be useful for testing browser features. These are the bookmarklets that tended to show the most bugs in Mozilla. (I've found plenty of bugs in Microsoft Internet Explorer with them as well, but haven't been keeping track of those bookmarklets and bugs as closely.)
If you've made it this far, you might be interested in this chart that shows how well various Windows browsers support bookmarklets.
(To keep bookmarklets in order to use them on other web pages, drag them to your Bookmarks Toolbar. Or, install them all at once.)
Bookmarklet | Description | Works in | |||
---|---|---|---|---|---|
Add borders | Adds a green border around each element on the page. Details | ||||
Buttonify | Turns the entire page into a <button>. Details | ||||
Rewrite page | Rewrites the page using document.write(innerHTML). Details | ||||
reset innerHTML | Rewrites the page using innerHTML = innerHTML. Details | ||||
Reset body HTML | Rewrites the page using body.innerHTML = body.innerHTML. Details | ||||
clone document | Copies the document into a new window. Details | ||||
clone slowly | Clones page several chars at a time (to test incremental rendering) Details |
Browsers: is Internet Explorer for Windows, is Netscape 7 or Mozilla, is Netscape 4, and is Opera.
Adds a green border around each element on the page.
Mozilla/NS6 bugs: 60829 causes tiny drawing errors when scrolling some pages.
IE bugs: can stop images from loading.
Turns the entire page into a <button>.
Mozilla/NS6 bugs: 55285 caused extra newlines to be displayed (fixed).
Rewrites the page using document.write(innerHTML).
Rewrites the page using innerHTML = innerHTML.
Rewrites the page using body.innerHTML = body.innerHTML.
Copies the document into a new window.
Crashes IE 6.
Clones page several chars at a time (to test incremental rendering)
© 2000-2007 Jesse Ruderman (jruderman@gmail.com). Feedback is welcome.
Last modified November 1, 2006.