Skip to content

Instantly share code, notes, and snippets.

@bdelespierre
Created February 5, 2020 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdelespierre/8e2dba72238664b408918252f2590f93 to your computer and use it in GitHub Desktop.
Save bdelespierre/8e2dba72238664b408918252f2590f93 to your computer and use it in GitHub Desktop.
let btns=Array.from(document.querySelectorAll('[data-control-name="people_connect"]'));
let next=function(){
btns.shift().dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }))
setTimeout(next, 1000);
}
next();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment