News for hackers. Stuff that matters.
Re:Ask HN: What Browser extensions automate repetitive click... by segah on Wednesday July 13, 2022 @10:06AM (#32082908)
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();})()
Re:Ask HN: What Browser extensions automate repetitive click... by unknownaccount on Wednesday July 13, 2022 @06:13AM (#32080749)
You could do button clicking with a simple js bookmarklet. anything more advanced can certainly be done with a custom tampermonkey / violentmonkey script.