Google site search, javascript bookmarklet

I prepared this bookmarklet as a quick hack, and a little javascript exercise. There might be better and more advanced equivalent utilities and add-ons around.
The bookmark/favorites link runs a little script that prompts the user for search terms, and then performs a google search limited to the current site. Let's say you are visiting python.org, and what to do a google search limiting only that site.
You can just click the link below to see it in action before you decide to add it as a bookmark/favorite.
The bookmarklet is available for unrestricted download under a Creative Commons Attribution 3.0 Unported License. This gives you the right to redistribute and modify the script, as long as Nordpil is properly credited.
The code in the bookmarklet is:
Releases and versions
- version 1.0, October 12, 2012