Created
June 11, 2019 15:29
-
-
Save tpai/9b6a99962d70877d3382f14e722c5283 to your computer and use it in GitHub Desktop.
大家上雲來 Battle https://awscloudmigration.techorange.com/game
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
| var root = document.querySelector('#v-game-countdown').nextSibling; | |
| var rootObserver = new MutationObserver((mutations) => mutations.map(mutation => { | |
| [].slice.call(document.querySelectorAll('.v-game-target img')).map((target) => { | |
| target.click(); | |
| }); | |
| })); | |
| rootObserver.observe(root, { | |
| childList: true | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment