Created
April 21, 2016 10:22
-
-
Save boubkhaled/6ef146cba69b01731e6bc96b7ba5f1b7 to your computer and use it in GitHub Desktop.
monkey script for git-scm.com/book
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 New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://git-scm.com/book/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.getElementsByClassName("sidebar")[0].remove(); | |
document.getElementById("content").style.width = "100%"; | |
document.querySelector(".inner").remove(); | |
document.querySelector("footer").remove(); | |
document.querySelector(".inner").style.width = "100%"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment