Last active
September 19, 2016 09:52
-
-
Save tillahoffmann/0a49c3a74f7902ec869d09030deb0994 to your computer and use it in GitHub Desktop.
Use the code font for comment boxes and disable "Update branch" button.
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 GitHub fiddling | |
// @namespace http://sonalytic.com | |
// @version 0.1 | |
// @author Till Hoffmann | |
// @match https://github.com/* | |
// @grant GM_addStyle | |
// @require https://code.jquery.com/jquery-3.1.0.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
jQuery.noConflict(); | |
GM_addStyle('.comment-form-textarea {font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace}'); | |
jQuery("button:contains('Update branch')").hide(); | |
// TODO: add tab => 4 spaces script in the comment boxes | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment