What would be very interesting is to set up an open WiFi access point which alters any HTTP response from an unknown MAC address, inserting a local copy of the script tag right before the /head tag. You could also prank your friends with this by installing it as a GreaseMonkey script or a Chrome extension.
Add another keyboard pest that overrides all of the default keyboard shortcuts in the browser.<p>I've been watching the Firefox people debate whether this is a bug since 2007.<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=380637" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=380637</a>
For a better look into all the ways default javascript functionality can annoy your visitors, I wrote an all-encompassing script about two years ago called annoying.js: <a href="https://gist.github.com/Kilian/767982" rel="nofollow">https://gist.github.com/Kilian/767982</a> featuring classics such as disabling right mouse click, text selection and leaving the page!
I often open randomly interesting news here on HN.
In my office we couldn't recognize the source of the sound until I checked all of my 20 tabs in chrome :D
cool script bro