Skip to content

Instantly share code, notes, and snippets.

@J2TEAM
Last active February 26, 2017 16:48
Embed
What would you like to do?
Get all groups
// Developed by Juno_okyo
(function(){try{var b=[];Array.from(document.getElementById("GroupDiscoverCard_admin").querySelectorAll("li ._266w > a")).map(function(a){b.push({id:a.getAttribute("data-hovercard").substr(33),name:a.textContent})});copy(JSON.stringify(b))}catch(a){console.error(a.message)}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment