Created
April 14, 2016 20:26
-
-
Save solidgoldpig/29542d12b3c94942e47435df39720a57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Solidgoldpig Radio Times | |
// @namespace http://solidgoldpig.com/tampermonkey/radiotimes | |
// @version 0.1 | |
// @description Make Radio Times more bearable | |
// @author [email protected] | |
// @match http://www.radiotimes.com/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint ignore:start */ | |
(function () { | |
'use strict' | |
const siteCSS = ` | |
#header, | |
#footer, | |
.listings-settings-panel, | |
.leaderboard-ad, | |
.listings-ad-block, | |
.listings-ads-btm { | |
display: none !important; | |
} | |
` | |
const siteStyleSheet = document.createElement('style') | |
const siteStyleContent = document.createTextNode(siteCSS) | |
siteStyleSheet.appendChild(siteStyleContent) | |
document.querySelector('head').appendChild(siteStyleSheet) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment