Skip to content

Instantly share code, notes, and snippets.

@wolfspelz
Created January 12, 2016 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfspelz/87510949a20df65f1a15 to your computer and use it in GitHub Desktop.
Save wolfspelz/87510949a20df65f1a15 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name ZEIT
// @namespace http://wolfspelz.de/
// @version 0.1
// @description Restore white background
// @match http://www.zeit.de/*
// @copyright 2015+, wolfspelz
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('body { background-color: #ffffff !important; } .page__content { box-shadow: none; }');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment