Skip to content

Instantly share code, notes, and snippets.

@Zren
Last active April 10, 2017 10:25
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 Zren/8726ccca22659baaeb055fd0258df76f to your computer and use it in GitHub Desktop.
Save Zren/8726ccca22659baaeb055fd0258df76f to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name GitHub: Remove header-dark
// @namespace https://github.com/Zren/
// @description Change the dark header to the old lighter one.
// @icon https://github.com/favicon.ico
// @author Zren
// @version 2
// @match https://github.com/*
// @match https://gist.github.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
function lightHeader() {
var e = document.querySelector('.header.header-dark');
if (e) {
e.classList.remove('header-dark');
}
}
lightHeader();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment