Skip to content

Instantly share code, notes, and snippets.

@Arduous
Created March 11, 2019 08:16
Show Gist options
  • Save Arduous/72cd1be20269bd52e167e1962b286ba1 to your computer and use it in GitHub Desktop.
Save Arduous/72cd1be20269bd52e167e1962b286ba1 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Dashboard-left-panel-hide
// @namespace userscripts-mirror.org
// @description Hide left panel when multiple dashboards
// @include http://*/secure/Dashboard*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @version 2
// @grant none
// ==/UserScript==
// works for Firefox, updated to work with JIRA v7.x
// adapted from
// https://answers.atlassian.com/questions/50924/dashboard-how-do-i-hide-the-dashboard-selector-on-the-left
var removeLeftPanel = function() {
jQuery("div.dashboard-tabs.tabs.vertical").remove();
jQuery("#dashboard").attr("class", "dashboard");
};
window.addEventListener("load", removeLeftPanel, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment