Created
March 29, 2016 19:33
-
-
Save MitMaro/cc1c1afc4b902bc56cdb327ba14d1eee to your computer and use it in GitHub Desktop.
Tampermonkey script for BB diff to change the tab size.
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 BitBucket tab size | |
| // @namespace http://mitmaro.ca | |
| // @version 1.0.0 | |
| // @description Converts the diff tab size on BB | |
| // @author Tim Oram | |
| // @match https://bitbucket.org/*/*/pull-requests/*/diff | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| var sheet = document.createElement('style'); | |
| sheet.innerHTML = "pre {tab-size: 4;}"; | |
| document.body.appendChild(sheet); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment