Bookmarklets
Bookmarklets are snippets of javascript code that you can embed in a url. Can be useful debugging a website.
Drag the links below to your browser bookmarks bar to save as a bookmark. I’ve picked most of these in Safari FAQ, apart the Show Header.
-
Validate HTML
Sends the current URL to the W3 for HTML Validation. URL must be visible outside the firewall. -
Validate CSS
Sends the current URL to the W3 for CSS Validation. URL must be visible outside the firewall. -
Validate Links (HREFs)
Sends the current URL to the W3 for Link Validation. URL must be visible outside the firewall. -
Show Headers
Show complete http headers -
Show Tables
Displays a border around all tables, rows and columns. This one is very useful for determining if your tables are well-formed. -
Show DIV Borders
Displays a border around all DIV elements on the current page. -
<a href="javascript:var%20a=document.getElementsByTagName('div');var%20aspan;var%20txtNode;for(var%20b=0;%20b%20Show DIV Borders with their IDs
Displays the ID and a border around all DIV elements on the current page. -
Dump Scripts
Displays a new window containing all the JavaScript on or linked to the current page. Use to look for unsupported DOM calls like document.all, document.layers, etc… -
Execute Arbitrary Scripts
Displays an input dialog that allows you to execute JavaScript in the context of the current page.