Skip to content

Instantly share code, notes, and snippets.

@Jacajack
Last active August 15, 2020 17:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jacajack/1edad2b83a0da0609921d9e3299c44de to your computer and use it in GitHub Desktop.
Save Jacajack/1edad2b83a0da0609921d9e3299c44de to your computer and use it in GitHub Desktop.
Messenger color chat change spammer
/*
Just paste into your browser javascript console while on https://www.messenger.com
Only requires right hand side menu with colors and nicknames to be opened.
I DO NOT TAKE ANY RESPONSIBILITY FOR POSSIBLE CONSEQUENCES OF USAGE OF THIS SCRIPT
Enjoy...
*/
function pick( )
{
document.getElementsByClassName( "_5dr4" )[( Math.random( ) * 15 ).toFixed( 0 )].click( );
}
function colorspam( )
{
document.getElementsByClassName( "_3szq" )[2].click( );
setTimeout( pick, 1000 / freq / 2 );
}
var freq = 10;
var colorspamThread = setInterval( colorspam, 1000 / freq );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment