Skip to content

Instantly share code, notes, and snippets.

@solidgoldpig
Created April 14, 2016 20:26
Show Gist options
  • Save solidgoldpig/29542d12b3c94942e47435df39720a57 to your computer and use it in GitHub Desktop.
Save solidgoldpig/29542d12b3c94942e47435df39720a57 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Solidgoldpig Radio Times
// @namespace http://solidgoldpig.com/tampermonkey/radiotimes
// @version 0.1
// @description Make Radio Times more bearable
// @author tampermonkey@alex.solidgoldpig.com
// @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