Created
February 13, 2017 14:01
-
-
Save zoffixznet/6ad3b38680598b50932235efa8899982 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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