Created
November 29, 2018 20:08
-
-
Save RouNNdeL/64e4b1d7d4adfcc4cc4bde9fc9d0056d to your computer and use it in GitHub Desktop.
Very flimsy script to export a Messenger Group user list. (Requires jQuery)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users = []; | |
const li = $("div[data-testid='info_panel']").find("h4:contains('People')").eq(0).siblings().eq(1).find("li").each(function(){ | |
const text = $(this).text(); | |
users.push(text.replace(/^(Admin|Administrator)/, "")); | |
}); | |
console.log(users.join("\n")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment