dirty hack: remove xing.com iframe ads with greasmonkey

January 8, 2008

ok, after this very short twitteruption this afternoon of the premium xings i sat down tonight at home and thought, hmm? getting rid of advertising on xing.com isn't really worth a premium membership. A short look onto the pagesource with firebug revealed the pretty simple html schema.

so even me personally was able to sketch a simplistic greasemonkey script to erase ad iframes from the xing page like follows:

UPDATE: fixed the script and updated pastie link(thx henrik)

eeeeasy, download from pastie download (old) (no guarantees, you know, script might eat your backups and such)

For those who don't know, Greasemonkey is a firefox extension to add custom javascript to any website. And this means, you can do whatever you want with the content. There are greasemonkey scripts which are adding links to the amazon site linking to sites with better prices for example. not fair, but thats life. in the web20 world.

have fun

p.s.: they paypal/aws/whatever payment sponsor button to fork 1 euro from your saved premium account money i will  code next week - hope to welcome you back on payday.

Technorati Tags: , , ,

share this: