NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Weather Underground Ad Blocker // @namespace https://webdevnerdstuff.com/ // @version 0.1 // @description Remove Ads // @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! // @copyright 2018+ WebDevNerdStuff (https://webdevnerdstuff.com/) // @include https://www.wunderground.com/* // @icon https://www.wunderground.com/static/favicon.png // @updateURL https://openuserjs.org/meta/webdevnerdstuff/Weather_Underground_Ad_Blocker.meta.js // @downloadURL https://openuserjs.org/src/scripts/webdevnerdstuff/Weather_Underground_Ad_Blocker.user.js // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var leaderboardDixed = document.getElementById('top-banner-ad-browser') ? document.getElementById('top-banner-ad-browser').remove() : null; var styleNode = document.createElement('style'); var styleText; styleNode.type = 'text/css'; styleNode.title = "Weather Underground Ad Cleaner"; styleText = document.createTextNode('#top-banner-ad-browser, .ad-wrap, .ad-desktop, .ad-taboola { display: none !important;} .small-12.has-sidebar { padding-right: .625rem !important; }'); styleNode.appendChild(styleText); document.getElementsByTagName('head')[0].appendChild(styleNode); })();