Hacker News new | ask | show | jobs
Ask HN: What Browser extensions automate repetitive clicks that have popups?
1 points by segah 1439 days ago
So I have a list of buttons that need to be clicked, but each button brings up a popup. Which workflow / productivity tools handle this. Seems like a basic thing, but 5+ something tools that are frequently mentioned on the web don't do any of this.
2 comments

Figured this out for LinkedIn :) javascript:(function(){var i=0;var f=function(){ let l=document.getElementsByClassName('artdeco-button artdeco-button--muted artdeco-button--3 artdeco-button--tertiary ember-view invitation-card__action-btn')[0];if (!!l){setTimeout(function(){l.click();}, 100);setTimeout(function(){ document.getElementsByClassName('artdeco-modal__confirm-dialog-btn artdeco-button--primary')[0].click();},2500);setTimeout(function(){f();},2500);}};f();})()
You could do button clicking with a simple js bookmarklet. anything more advanced can certainly be done with a custom tampermonkey / violentmonkey script.