Skip to content

Instantly share code, notes, and snippets.

@todvora
Last active February 12, 2017 09:06
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 todvora/4bb900256cf5569c15458cb9318edb7b to your computer and use it in GitHub Desktop.
Save todvora/4bb900256cf5569c15458cb9318edb7b to your computer and use it in GitHub Desktop.
Make GitHub gray again!

Make GitHub gray again!

This user script for browser is changing the dark GitHub header back to gray. And it's great, it truly is!

Before

Github before

After

Github after

Install

Author

@tdvorak

// ==UserScript==
// @name gray-github
// @namespace gray-github-greasemonkey-extension
// @description Make GitHub gray again!
// @include https://gist.github.com/*
// @include https://github.com/*
// @version 1.0.0
// @grant none
// ==/UserScript==
var elements = document.getElementsByClassName('header');
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