Skip to content

Instantly share code, notes, and snippets.

@JosiasSena
Last active July 14, 2016 17:52
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 JosiasSena/3b3bd48050a6413184f1791b267ab555 to your computer and use it in GitHub Desktop.
Save JosiasSena/3b3bd48050a6413184f1791b267ab555 to your computer and use it in GitHub Desktop.
Check/Uncheck all supported devices in the playstore with this JavaScript snippet
// Rather than going one by one and unchecking each and every one, run this JS query from
//the console on chrome or firefox that shows up after "inspecting the code" and then just
// check the ones that you want after wards.
switches = document.getElementsByClassName("M0PRCSC-Rc-g M0PRCSC-Rc-h");
for(i = 0; i < switches.length; i++) {
if (switches[i].getAttribute("aria-checked") == "false") {
switches[i].click()
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment