Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created February 13, 2017 14:01
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 zoffixznet/6ad3b38680598b50932235efa8899982 to your computer and use it in GitHub Desktop.
Save zoffixznet/6ad3b38680598b50932235efa8899982 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Remove GitHub dark bar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.getElementsByClassName('header-dark')[0].className =
document.getElementsByClassName('header-dark')[0].className
.replace(new RegExp('(?:^|\\s)'+ 'header-dark' + '(?:\\s|$)'), ' ');
// Your code here...
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment