-
-
Save spaky08/de1b8a791f02431447551dc7bafd9285 to your computer and use it in GitHub Desktop.
Send messages on whatsapp by Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementsByClassName("input")[1].innerHTML="This message was written via JS script! "; // Fills the text box message | |
var input = document.getElementsByClassName("icon btn-icon icon-send");//Grabs the send button | |
input[0].click();// Clicks the send button |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment