Last active
July 14, 2016 17:52
-
-
Save JosiasSena/3b3bd48050a6413184f1791b267ab555 to your computer and use it in GitHub Desktop.
Check/Uncheck all supported devices in the playstore with this JavaScript snippet
This file contains hidden or 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
// 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