Skip to content

Instantly share code, notes, and snippets.

@tscho
Created May 17, 2011 15:26
Show Gist options
  • Save tscho/976687 to your computer and use it in GitHub Desktop.
Save tscho/976687 to your computer and use it in GitHub Desktop.
GreaseMonkey script to cleanup weathernetwork pages
// ==UserScript==
// @name weatherclutter
// @namespace asd
// @include http://www.theweathernetwork.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
// ==/UserScript==
$("embed:not(#twn14day)").remove();
$("#ugc").remove();
$("#wrap_ccb").remove();
$(".iframe_right_ad_en").remove();
$("#workopolis").remove();
$("#wrap_yahoo_box").remove();
$("#promowrap-vertical").remove();
$("#quickpoll").remove();
$("#relatedlinks").remove();
$("[id^='promo']").remove();
$("[id$='ad'], [id$=ads]").remove();
$("#ypg_box").remove();
$("#toolbox, #distribution_box").remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment