Make a site more readable by changing the color of the text. Add support for keyboard shortcuts. Remove really annoying ads. Of course you could think of many more things, the list is literately endless.
The Piratebay Ad Remover
My most popular script so far is an ad remover for thepiratebay.org. The first version of the script was launched on the 5th of November 2010 and has had 320 downloads so far.
Ted.com Alternative Video Player
When looking at talks on ted.com, the default flash player always annoyed me. The full screen button didn’t work and seeking through the video was buggy. Apart from that, when you go full screen, you still had the flash player controls on the top and bottom of the screen. As an alternative, I wanted to use the open-source JW Player.
mflow Keyboard Shortcuts
You can find some of the other scripts I wrote and a more up to date list on my userscripts.org profile page.
Things to remember
- Write plenty of documentation in your code as well as on userscripts.org.
Google Chrome compatibility issues
If you want to make sure that your script also runs in Google Chrome, do the following:
Next to the @include attribute, also use the @match attribute. This will make sure that the user who install the userscript will get an appropriate message:
Don’t use the @require attribute.
Most of the time you don’t need this, but if you do, create a script element and append it to the head or body.
Don’t use the unsafeWindow variable.
You can find more information about userscripts in google chrome on the chromium userscripts page.