Skip to content

Instantly share code, notes, and snippets.

@mirontoli
Created January 25, 2021 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirontoli/b958ad9d166b0a642eb2f196c82222e5 to your computer and use it in GitHub Desktop.
Save mirontoli/b958ad9d166b0a642eb2f196c82222e5 to your computer and use it in GitHub Desktop.
//this little javascript is to get the services to include in the
//Microsoft 365 Admin Center -> Health Center -> Preferences
//Inspect the area in Chrome/Edge and then run this in Console
spans = $0.querySelectorAll('div > div span')
arr2 = Array.prototype.slice.call(spans)
arr2.map(s => s.innerText).join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment