Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WebHarvy JavaScript code to scrape Google Chrome Web Store
var groups = document.querySelectorAll('[role="grid"]');
var parent = groups[0];
for (var i = groups.length - 1; i >= 1; i--) {
var group = groups[i];
for (var j = group.children.length - 1; j >= 0; j--) {
parent.appendChild(group.children[j]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment