Skip to content

03. Listing everyone in the meeting

CoconutMacaroon edited this page Nov 12, 2020 · 1 revision

Listing everyone in the meeting

This requires you to have the Participants tab open in the meeting. If you don't, this won't work. Also, remember to close the "Others invited" tab in participants. If you don't close it, those names will be included! Also, make sure you are in the DevTools for the meeting. Otherwise, it won't work. This only applies to the new meeting experience

Printing everyone in the meeting

In the JavaScript console, run this: for(const item of Array.from(document.getElementsByTagName('li'))){console.log(item.children[1].innerText.split("\n")[0]);}. It will print out each name.

But I don't want to print it, I want an array

As an array, use this: var a = []; for(const item of Array.from(document.getElementsByTagName('li'))){a.push(item.children[1].innerText.split("\n")[0]);}. The names will be stored in the array a.