Skip to content

Instantly share code, notes, and snippets.

@gstraymond
Last active November 4, 2016 13:25
Show Gist options
  • Save gstraymond/360bf274db679b95a2e7c91d7fdced71 to your computer and use it in GitHub Desktop.
Save gstraymond/360bf274db679b95a2e7c91d7fdced71 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Jenkins
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://jenkins2.snips.ai/view/Monitor/
// @grant none
// ==/UserScript==
(function() {
'use strict';
$("#jenkinsBuildHistory").parent().hide();
$("#jenkinsBuildQueue").parent().hide();
$("#jenkinsNodeStatuses").parent().hide();
$(".height100perc").removeClass("height100perc");
$(".col-lg-12").removeClass("col-lg-12");
$(".col-lg-6").removeClass("col-lg-6");
$(".right-border").removeClass("right-border");
$("body").bind("DOMSubtreeModified",function() {
$(".btn.col-lg-6").css("width", "100%");
$(".col-lg-6").removeClass("col-lg-6");
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment