Skip to content

Instantly share code, notes, and snippets.

@jayme-github
Last active August 29, 2015 14:27
Show Gist options
  • Save jayme-github/7ff9e834d6cdbe29a341 to your computer and use it in GitHub Desktop.
Save jayme-github/7ff9e834d6cdbe29a341 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey script to use all available space to display bugzilla comments (no stupid line breaks)
// ==UserScript==
// @name BugzillaCommentsUseSpace
// @author jayme-github
// @namespace https://github.com/jayme-github/
// @downloadURL https://gist.githubusercontent.com/jayme-github/7ff9e834d6cdbe29a341/raw/BugzillaCommentsUseSpace.user.js
// @version 0.1
// @description Use all available space to display comments (no stupid line breaks)
// @match http*://*/bugzilla/show_bug.cgi?id=*
// @copyright 2015+, jayme-github
// ==/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('.bz_comment_text { width: 100% !important; }');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment