Skip to content

Instantly share code, notes, and snippets.

@moonhouse
Created February 13, 2023 08:31
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 moonhouse/78a023ec195e76b5542c849115741a2c to your computer and use it in GitHub Desktop.
Save moonhouse/78a023ec195e76b5542c849115741a2c to your computer and use it in GitHub Desktop.
Bookmarklet to list order of the current meeting in random order. List of participants needs to have been opened and then the chat window.
javascript:!function(){document.getElementById("bfTqV").value=" • "+Array.from(document.getElementsByClassName('GvcuGe')[0].children).map(function(a){return a.firstElementChild.getElementsByClassName("zWGUib")[0].innerText}).filter((v, i, a) => a.indexOf(v) === i).map(a => ({ sort: Math.random(), value: a })).sort((a, b) => a.sort - b.sort).map(a => a.value).join("\n • ");}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment