Last active
October 31, 2016 15:04
-
-
Save drobilc/11e1ec2ac3c16296542a3f5bb569bedc to your computer and use it in GitHub Desktop.
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
function nuke(){ | |
var users = document.querySelectorAll("#present-users .present-user .avatar img"); | |
var message = ""; | |
for (var i = 0; i < users.length; i++) | |
message += "@" + users[i].getAttribute("title") + " "; | |
document.getElementById("input").value = message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment