Skip to content

Instantly share code, notes, and snippets.

@noahp
Last active September 19, 2018 12:22
Show Gist options
  • Save noahp/74478d9d8c4b8182bd7e058d43ff5f22 to your computer and use it in GitHub Desktop.
Save noahp/74478d9d8c4b8182bd7e058d43ff5f22 to your computer and use it in GitHub Desktop.
greasemonkey script for bitbucket
// ==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