Last active
March 3, 2020 14:49
-
-
Save stefanzweifel/f8da28761d41bcc4c253c2cd3ac50f60 to your computer and use it in GitHub Desktop.
Quick and dirty hack to get a list of all domains hosted on Forge. Run it in your browser console. You still have to manually remove the server name strings.
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
let domains = Array.from($('.nav-item')[1].children[1].children); | |
let domainList = domains.map(function (item) { | |
return item.textContent.replace(/(\r\n|\n|\r)/gm, "").trim(); | |
}); | |
console.table(domainList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can split on space and filter the defaults: