Skip to content

Latest commit

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Send Whatspp Text By JavaScript

Here is small JS Script for sending a message in a loop.

Steps to Do it:-

  1. Open Whatsapp web on your browser Chrome (https://web.whatsapp.com/)
  2. Scan the QR Code
  3. Select the person you want to send the text
  4. press clt + shift + j
  5. In developer Console paste the code and press Enter.
  6. Enter the text you want to send repeatedly in the alert box.
  7. Now enter the number of times you want to send it.

Note Make sure your mobile has Internet Connection

varmessage=prompt("Enter the message");varcount=prompt("Enter the Number of times");// Change the Number to change varlooper=0;for(looper=0;looper<count;looper++){window.InputEvent=window.Event||window.InputEvent;vard=newDate();varevent=newInputEvent('input',{bubbles: true});vartextbox=document.querySelector('#main > footer > div.vR1LG._3wXwX.copyable-area > div._2A8P4 > div > div._2_1wd.copyable-text.selectable-text');textbox.textContent=message;textbox.dispatchEvent(event);varb=document.querySelectorAll('#main > footer > div.vR1LG._3wXwX.copyable-area > div:nth-child(3) > button')[0]b.click();}

About

Here is small JS Script for sending a message in a loop.

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages