Skip to content

Instantly share code, notes, and snippets.

@ar5had
Last active March 18, 2017 13:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ar5had/b8dcfc3bcaee54f805778ae1ec0868da to your computer and use it in GitHub Desktop.
Save ar5had/b8dcfc3bcaee54f805778ae1ec0868da to your computer and use it in GitHub Desktop.
Open chat in web whatsapp then open console and paste this code in console terminal and hit enter.
setInterval(function(){
if(document.querySelector(".icon.icon-smiley.btn-emoji") != null)
document.querySelector(".icon.icon-smiley.btn-emoji").click();
document.querySelector(".emojik.emojiordered1200").click();
document.querySelector(".icon.btn-icon.icon-send.send-container").click();
}, 500);
@ar5had
Copy link
Author

ar5had commented Sep 25, 2016

@kennedysmartins
Copy link

it didn't work here

VM72:2 Uncaught ReferenceError: $ is not defined(anonymous function) @ VM72:2

error start in this line

if($(".icon.icon-smiley.btn-emoji") != null)

@kennedysmartins
Copy link

you can do with that send messages, instead of emoji?

@ar5had
Copy link
Author

ar5had commented Oct 11, 2016

Update to vanilla js.

Will try to make a normal text message one.

@kennedysmartins
Copy link

ok, I'm waiting

@flawnn
Copy link

flawnn commented Mar 18, 2017

replace the Emoji class with ".e[number].c0.emojik"

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