Skip to content

Instantly share code, notes, and snippets.

@sysnucleus
Created August 27, 2021 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sysnucleus/3b1b0c93941e806499424129ee220d1f to your computer and use it in GitHub Desktop.
Save sysnucleus/3b1b0c93941e806499424129ee220d1f to your computer and use it in GitHub Desktop.
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