Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@brandondurham
Created February 7, 2014 21:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandondurham/8871775 to your computer and use it in GitHub Desktop.
Save brandondurham/8871775 to your computer and use it in GitHub Desktop.
javascript:
__cnt__=0;
__sep__="";
__username__=jQuery('.content-main .account-group');
__length__=__username__.length;
__usernames__='';
__interval__=setInterval(function () {
el=jQuery(__username__[__cnt__]);
if (__cnt__ === __length__) {
div = $('<div></div>');
div.html(__usernames__).css({
"background":"white",
"padding":"100px",
"position":"fixed",
"top":"0",
"left":"0",
"width":"100%",
"height":"100%",
"z-index":"1000",
"overflow-y":"auto"
});
jQuery("body").append(div);
clearInterval(__interval__);
}
if (el.attr("href")) {
__usernames__ = __usernames__ + __sep__ + el.attr("href");
}
__cnt__++;
__sep__="<br>";
}, 200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment