Skip to content

Instantly share code, notes, and snippets.

@muddylemon
Last active April 2, 2016 19:29
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 muddylemon/afa8c9fafa98bd4216333cbf7f33bda4 to your computer and use it in GitHub Desktop.
Save muddylemon/afa8c9fafa98bd4216333cbf7f33bda4 to your computer and use it in GitHub Desktop.
var names = [];
Array.prototype.forEach.call(document.querySelectorAll('span.robin--username'), function(el) {
var n = el.innerText;
if (n && n !== "[robin]") {
names[n] = n;
}
});
console.log(Object.keys(names).join(',').match(/.{1,120}/g));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment