Code Snippet: Print Shuffled List of Google Meet Participants

Open the participants list in Google Meet, then paste this snippet into your browser console:

userListLabel = 'Teilnehmer'
userNameSelector = `div[aria-label="${userListLabel}"] [avatar-tooltip-id] > div:nth-child(2) span:first-child`
userNames = Array.from(document.querySelectorAll(userNameSelector)).map((span) => span.innerHTML)
userNames.sort((a, b) => 0.5 - Math.random())
Dominik Schöler About 1 year ago