Last active
December 27, 2018 16:01
-
-
Save mbonig/66bfd25eea0fbbe3f1727ef28182d86d to your computer and use it in GitHub Desktop.
Tampermonkey Script - I never used AWS's nav shortcuts and the Resource Groups was never that useful to me, so I've removed those in favor of moving the Service History column from the Services dropdown to the navbar instead, since that was always more useful to me.
This file contains hidden or 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 AWS Console - Move History to Main Nav Bar | |
// @namespace http://fourlittledogs.com/ | |
// @version 0.1 | |
// @description This script moves the Service History, normally accessible through a dropdown, to the main nav bar. | |
// @author @mattbonig | |
// @match https://console.aws.amazon.com/* | |
// @grant GM_addStyle | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// ==/UserScript== | |
var $ = window.jQuery; | |
(function() { | |
'use strict'; | |
$(()=>{ | |
$('#nav-resourceGroupsMenu').remove(); | |
$('#nav-shortcutBar').remove(); | |
$('#nav-shortcutMenu').remove(); | |
$('#nav-servicesMenu').after($('#nav-history')); | |
$('#service-history-column').remove(); | |
}); | |
GM_addStyle(`#awsgnav #nav-history { | |
display: flex !important; | |
padding: 5px; | |
margin: 0; | |
float: left; | |
white-space: nowrap; | |
overflow: hidden; | |
height: 30px; }`); | |
GM_addStyle('#awsgnav #nav-history .service-label { color: white !important; }'); | |
GM_addStyle('body.awsui-mezzanine-overrides #awsgnav #nav-history { height: auto !important; }'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment