Greasemonkey Scripts

Here are a few simple Greasemonkey scripts I have published on userscripts.org.

_blank Must Die

Many web developers think that users are just too dumb do decide themselves whether they want a link to open in a new window (or tab) or not. This script stops the paternalism and gives the control back to the user.

This script removes the target attribute from hyperlinks that open a new browser window. Since only removing the target when the value is “_blank” is not enough (Firefox always opens a new window if there is no corresponding frame around), links with targets such as “blank”, “_neu”, “_new”, etc. have to be fixed, too.

Download Script | View at userscripts.org

Google Ad Remover

I originally wrote this script for my godmother. She just found the advertisments very annoying, so I helped her to get rid of them. This script simply removes ads from Google search result pages.

Download Script | View at userscripts.org

Google Show Page Number

This script displays the current page number on the top left of Google search result pages.

Download Script | View at userscripts.org

Samurai.fm in RealPlayer

samurai.fm is an internet streaming radio “with 24 hours of new shows every week, cooked up by the artists themselves especially for samurai.fm or recorded at live events, they’re sets and shows you won’t be able to hear anywhere else.”

However, there is one really annoying thing: they stream their music through a RealPlayer plugin that is embedded into a popup window. This scripts transforms links to samurai.fm stations (popups) into real RealMedia links.

Download Script | View at userscripts.org