Created
August 27, 2021 09:48
-
-
Save sysnucleus/3b1b0c93941e806499424129ee220d1f to your computer and use it in GitHub Desktop.
WebHarvy JavaScript code to scrape Google Chrome Web Store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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