Last active
September 19, 2018 12:22
-
-
Save noahp/74478d9d8c4b8182bd7e058d43ff5f22 to your computer and use it in GitHub Desktop.
greasemonkey script for bitbucket
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 Add a scroll bar to the reviewers list in Bitbucket | |
// @description Changes overflow rules on reviewsr pane to scroll | |
// @version 2 | |
// @grant none | |
// @match *://source.fitbit.com/* | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; | |
head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); | |
} | |
addGlobalStyle('#inline-dialog-inbox-pull-requests-content>.aui-inline-dialog-contents { overflow-y: scroll; }'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment