Thursday, January 31, 2008

FogBugz 6 page width

How to use Firefox and GreaseMonkey to force FogBugz 6.0 to use more of your screen to display bug details:

// ==UserScript==
// @name Style
// @namespace fogbugz
// @description Make bug window larger
// @include https://**
// ==/UserScript==

GM_addStyle("div.bugShadowBottom { width:75% ! important; }");
GM_addStyle("#bugviewContainer,.buttonbar,#BugFields { width:100% ! important; }");

This script adds some style overrides to the top of every FogBugz page. It is the div.bugShadowBottom that drives the width, so to make it even wider, adjust that. The second style makes sure that the internal styles scale with the overall width.

Update: Thanks to Adam V for pointing out the GM_addStyle function!


Adam V. said...

_Sam_ said...

Great script, thanks!

Perhaps you should post on are several other FogBugz scripts there already.

Best regards,