Created
June 15, 2017 16:24
-
-
Save michaelstephens/1ad70b75fa3540ad75514a06f2e91f62 to your computer and use it in GitHub Desktop.
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 allParrots = document.querySelectorAll("[data-emoji-name]"); | |
for(var i =0; i < allParrots.length; i++){ | |
var d = allParrots[i]; | |
if(d.dataset.emojiName.indexOf('parrot') !== -1) { | |
d.click(); | |
$(".btn_danger").click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment