Skip to content

Instantly share code, notes, and snippets.

@oobleck
Last active August 29, 2015 14:06
Show Gist options
  • Save oobleck/42588a6dc9b1e01fb5db to your computer and use it in GitHub Desktop.
Save oobleck/42588a6dc9b1e01fb5db to your computer and use it in GitHub Desktop.
JIRA Helpers
// ==UserScript==
// @name JIRA Enhancements
// @namespace https://github.com/oobleck
// @version 0.0.01
// @updateURL https://gist.github.com/oobleck/c3dafe79c7acb8fbebd5
// @downloadURL https://gist.github.com/oobleck/c3dafe79c7acb8fbebd5/raw/bugzilla-enhancements.user.js
// @description Enhances bugzilla. Several fixes that were sadly lost when Userscripts.org went belly up.
// @include http://jira-jira.host.beaconama.net*
// @run-at document-end
// @copyright 2014+, Spencer Rhodes
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
console.debug('Loading BMI JIRA Helper userscript.');
var _BMI = _BMI || {};
var styles = '\
body { min-width: 600px; }\
#Xcontent { width: auto; max-width: 1000px; margin: 0 auto; }';
var $elStyle = $('<style/>');
$elStyle.html(styles);
$('head').append($elStyle);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment