Open all accounts and roles on AWS Console SSO screen used by AWS IAM Identity Center.
// ==UserScript==
// @name AWS Console - Open All SSO Accounts
// @match https://*.awsapps.com/start/*
// @grant none
// @version 1.1
// @author Bernd VanSkiver
// @description Open all accounts and roles on AWS Console SSO screen used by AWS IAM Identity Center.
// @namespace https://greasyfork.org/users/1009418
// ==/UserScript==
(function() {
'use strict';
let intv = setInterval(function() {
const collapsedButtons = document.querySelectorAll('button[aria-expanded="false"]');
collapsedButtons.forEach(button => {
button.click();
});
}, 100);
})();