-
-
Save sheldonhull/73f4064c03f71fc2403cce15a212c0af to your computer and use it in GitHub Desktop.
Larger Security Group selector (AWS RDS and Elasticache / tested with Tampermonkey)
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 Larger SG Selector | |
// @namespace http://ryotarai.info/ | |
// @version 0.1 | |
// @description Why is it too small? | |
// @author Ryota Arai | |
// @match https://*.console.aws.amazon.com/* | |
// @grant none | |
// ==/UserScript== | |
window.setInterval(function() { | |
var all = document.querySelectorAll('.gwt-ListBox'); | |
for (var i = 0; i < all.length; i++) { | |
var regex = /(-vpc-sg-slctbx$|-security-grps?-multi-slct-bx$)/; | |
var elm = all[i]; | |
if (elm.id.match(regex) && elm.style.height != "1000px") { | |
elm.style.height = "1000px"; | |
} | |
} | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment