Skip to main content

JDT UI Component Development Resources

JDT Developer Documents

Mailing List / Newsgroup

Greasemonkey scripts (aka user scripts)

JDT UI developers are heavy users of Since we could not stand the increasing number of UI bloopers in Bugzilla, we created a Greasemonkey script to ease our daily pain:

jdtbugzilla.user.js (log)

The script always works with the latest release of Firefox, Greasemonkey, and In Chrome, it used to work out of the box until Google decided to break this functionality (in spring 2014). Now, you have to install Tampermonkey in Chrome and reinstall the script from there.

Over time, we also added quick links and tweaks to improve our work experience. The team-specific tweaks are being configured at the top of the script.
After installing the default script, you can override some or all of these settings locally by editing the file <firefox-profile>/gm_scripts/JDT_UI_Bugzilla_Add-On/jdtbugzilla.config.js. Just copy a var xxx= ...; declaration from the script, remove the var, and change the value to suit your needs.

For comments and enhancement requests, please use bug 390332 or file a new bug. If someone from the Bugzilla team wants to talk about the UI bugs, please also file a bug or directly talk to Markus.

Here are some of the improvements in the script (see comments and bug links in the source for full details):

  • clicks all the useless (edit) links (bug 334083)
  • makes the "Advanced Search" page usable without having to scroll (removes garbage and increases option list heights)
  • removes headers to save space
  • fixes wrapping of stacktraces in comments and replies (bug 446727)
  • adds a fixed "Bug <id>: <summary>" header on top for easy triple-click, copy, paste
    - hint: the link is in the short<id> form
  • adds more links on the right side of the fixed header to:
    - jump to your last comment
    - jump to last comment and reload page
  • adds quick links for frequently used CCs, Assignees, Products, Components, Resolutions, Target Milestones, Git repositories, etc.
  • adds bug category combos (to insert "[work area]" prefixes into summary)
  • fixes various layout bugs on show_bug.cgi
  • renders Assignee next to Reporter
  • moves the Status fields to a useful position (between Target Milestone and Assignee in the settings block)
  • fixes attachment links (click on attachment predictably opens the attachment -- separate [diff] link opens patch viewer)
  • makes the security group checkboxes less likely to be clicked inadvertently (only checkbox is clickable; label is not)
  • offers two links for email addresses: simple for pasting as CC / with full name to use as Git author
  • offers "Assign to" links next to email addresses and CC list
  • adds easy-to-copy bug <id> comment <no> text
  • adds more "Save Changes" buttons and supports Ctrl+S to save
  • fixes wrapping-preview in "Additional Comments" field
  • improves rendering of "See Also" links (e.g. shows all relevant infos for Gerrit links and shows bug titles) (follow-up to bug 434841#c37)
  • adds "Clone This Bug (in <originating project>)" and "New (in <project/component>)" links (bug 463055)
  • adds link to hide old admin messages (bug 333403)
  • fixes alternating gray/white background for enhancements in buglist.cgi (classic skin) (bug 331415)

Back to the top