Last active
April 10, 2017 10:25
-
-
Save Zren/8726ccca22659baaeb055fd0258df76f to your computer and use it in GitHub Desktop.
This file contains 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 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