If you just save this to a .user.js file, add the user script headers, and open that file in Chrome, it'll install it as an extension.
Edit: removed broken script.
Edit: removed broken script.
The good news is, you don’t need Prototype at all. I made this userscript this morning: https://gist.github.com/880967 Just click one of the “raw” links to install.