Skip to content

Instantly share code, notes, and snippets.

@neodigm
Created November 12, 2019 19:01
Show Gist options
  • Save neodigm/53bcad834a62b442dfca6694cacc79a4 to your computer and use it in GitHub Desktop.
Save neodigm/53bcad834a62b442dfca6694cacc79a4 to your computer and use it in GitHub Desktop.
mutiClick Super Simple Vanilla JavaScript ES5 Clicker IIFE
var multiClick = (function( _d ){ // Click lots of stuff
return {
"all": function( sQuery ){
if( sQuery ){
[].slice.call( _d.querySelectorAll( sQuery ) )
.filter(function( eL ){ eL.click() })
}
}
}
})( document );
multiClick.all("#profileTravelersTable_wrapper tr:not(.selected)");
@neodigm
Copy link
Author

neodigm commented Nov 12, 2019

In case you ever get the urge to rage mega mondo multi click . 💢

@neodigm
Copy link
Author

neodigm commented Jun 4, 2020

Use the snippet below to unfollow an entire page of folks in the github UI.

multiClick.all("[value='Unfollow']");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment