Last active
August 14, 2019 19:12
-
-
Save ryotarai/4b0091a02e77f14486b9 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