That won’t work in all browsers. User scripts are executed in their own context and don’t know of plugins and libraries that are available on the page.
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.