Created
February 13, 2017 14:06
-
-
Save zoffixznet/1ca8cc3953b9613d16ff34a0c4c4ef2c 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/* | |
// @match https://gist.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