Created
February 10, 2017 22:36
-
-
Save vzsg/b9cf02375c8514e4641d38f0ec5bf989 to your computer and use it in GitHub Desktop.
Userscript to revert GitHub header to the light version
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 Revert GitHub theme | |
// @namespace https://github.com | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author vzsg | |
// @match https://*.github.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const elements = document.getElementsByClassName('header-dark'); | |
for (var i = 0; i < elements.length; i++) { | |
elements[i].classList.remove('header-dark'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment