Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created June 2, 2016 22:40
Show Gist options
  • Save fitoria/ecbefdeb1996481c83b722eda8f4fd11 to your computer and use it in GitHub Desktop.
Save fitoria/ecbefdeb1996481c83b722eda8f4fd11 to your computer and use it in GitHub Desktop.
l = document.getElementsByClassName('fwb');
var text = '';
for (i=0; i<l.length; i++){
if (!l[i].children[0])
continue;
if (l[i].children[0].className == 'profileLink')
text += l[i].children[0].text + '(' + l[i].children[0].href + ')\n';
}
console.log(text);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment