Last active
June 2, 2021 03:28
-
-
Save toricls/79e0d54103978aee756db1091a5575f5 to your computer and use it in GitHub Desktop.
AWS Containers please π - A Greasemonkey script
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 Containers please π | |
// @namespace https://aws.amazon.com | |
// @include /^https:\/\/[a-z0-9.-]*console\.aws\.amazon\.com\/.*$/ | |
// @version 0.0.1 | |
// @author toricls | |
// ==/UserScript== | |
(function() { | |
window.setTimeout(update, 1000); | |
function update() | |
{ | |
var serviceList = document.querySelectorAll("[data-testid='awsc-nav-service-list']")[0]; | |
if (!serviceList) return; | |
var container = serviceList.lastChild; | |
var compute = serviceList.firstChild | |
serviceList.insertBefore(container, compute); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment