Bookmarklets

Bookmarklets are scripts written in JavaScript (ECMAScript) that are bookmarked. Most browsers allow "javascript:" links just like how they allow "http:" and "https:" links. Clicking on the bookmark executes the script, potentially modifying the current webpage in interesting ways. These are just a few that I found useful. Search for the term "bookmarklets" online, if you need some to accomplish other tasks.

Please note that I did not write these scripts myself. These are taken from other places, and I have lost track of the sources.

To save the bookmarklets, right-click on them and select bookmark. Then, go to the page you want to try it on, and click on it from your bookmarks.

Webpage modification

Sometimes webpages have awful, unreadable layouts. It is very handy to be able to remove all of the colors, CSS, and other properties to make it readable again. It can also be a reasonable approximation of what the webpage would look like in the browser Links.

Bookmarklet: Disable CSS

Often Macromedia Flash animations are displayed from small boxes within webpages. I find this very odd since they are made using vector graphics, which can be scaled. Having them small defeats the purpose of using vector graphics. This shows only the animation and in shows it using the full window. This version specifically looks for an embed tag with type="application/x-shockwave-flash", meaning it will not work in many places.

Bookmarklet: View flash

For use in conjunction with the above bookmarklet, you can add in a navigation bar below a Flash animation that allows seeking and pausing. It does not work with all Flash animations.

Bookmarklet: Flash navigation

Passwords

Often, it is annoying when a password box says "*****" instead of what it contains. Using this bookmarklet, you can see what the text is in the box.

Bookmarklet: Get password

It can be annoying to remember different passwords for different websites. This bookmarklet takes the hostname from the URL and appends your master password to it, thus creating a different password for each site. The password cannot be reversed to get your master password. It uses the SHA1 hash function. This version has master password contained in it, so be sure to edit where it says "your_password_here".

Bookmarklet: Set password

This is the same bookmarklet, except that it prompts for the master password, making it safer to use on machines that multiple people have access to.

Bookmarklet: Set password