Last active
June 21, 2018 12:06
-
-
Save Briansbum/2efdd7934790005774752c487bc6def1 to your computer and use it in GitHub Desktop.
Tampermonkey script to add AWS region ids to the region selector menu
This file contains 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 awsRegionIds | |
// @namespace http://intenthq.com/ | |
// @version 0.1 | |
// @description Add AWS region ids to the region selector menu | |
// @author github.com/Briansbum github.com/kittsville | |
// @match https://*.console.aws.amazon.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.getElementById("nav-regionMenu").addEventListener("click", () => document.querySelectorAll("#regionMenuContent .available-region").forEach(item => { item.textContent=item.getAttribute("data-region-id") + " - " + item.textContent })) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment