Skip to content

Instantly share code, notes, and snippets.

@no1xsyzy
Created August 16, 2017 06:32
Show Gist options
  • Save no1xsyzy/776dd5246a6d33d987d30a260751dd61 to your computer and use it in GitHub Desktop.
Save no1xsyzy/776dd5246a6d33d987d30a260751dd61 to your computer and use it in GitHub Desktop.
Automatically like all events in expanded day. Takes 4 secs for each event.
document.querySelectorAll(".dayEvents .span1").forEach((e,i)=>{
setTimeout(()=>{
e.click();
setTimeout(()=>{
document.querySelector(".like").click();
},1000)
setTimeout(()=>{
document.querySelector(".bouncePopupRoot").click();
},2000)
},i*4000)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment