Code Snippet: Print Shuffled List of Google Meet Participants

Updated . Posted . Visible to the public.

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
Last edit
Dominik Schöler
Keywords
random, zufällig, bookmarklet
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra orga (2023-04-24 07:43)