Skip to content

Instantly share code, notes, and snippets.

@sysnucleus
Created August 27, 2021 09:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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