Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. setTimeout(
  2. function () {
  3. //Depending on your button, you can also use getElementById
  4. var x = document.getElementsByClassName("_42ft _4jy0 _11b _4jy3 _4jy1 selected _51sy");
  5. x[0].click(); // x[0] gives us the first button with same class name
  6. }, 3000 //timeout in milliseconds
  7. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement