Skip to content

Instantly share code, notes, and snippets.

@fpauser
Created December 9, 2010 10:27
Show Gist options
  • Save fpauser/734576 to your computer and use it in GitHub Desktop.
Save fpauser/734576 to your computer and use it in GitHub Desktop.
Remove annoying crap from news.google.de. Needs our beloved jQuery ;)
// remove crappy contents from news.google.de
$("div.source, span.source").filter(function() { return /(BILD|WELT ONLINE)/.test( $(this).text() ) }).parent().fadeOut();
$("h2.title > a").filter(function() { return /.*(welt.de|bild.de).*/.test( $(this).attr('href') ) } ).parents("div.story").fadeOut();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment