Last active
August 29, 2015 14:27
-
-
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)
This file contains 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 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