Advertisement
Quocth2008

Untitled

Oct 17th, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. for(var i = 0; i < 100; i++) {
  2. var ten = document.querySelectorAll('[data-sigil="undoable-action"]')[i].innerText;;
  3. document.querySelectorAll('[value="Thêm bạn bè"]')[i].click()
  4. await new Promise(r => setTimeout(r, 1000));
  5. window.scrollTo(0,105*i);
  6. console.log(i,ten)
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement