Here is small JS Script for sending a message in a loop.
Steps to Do it:-
- Open Whatsapp web on your browser Chrome (https://web.whatsapp.com/)
- Scan the QR Code
- Select the person you want to send the text
- press clt + shift + j
- In developer Console paste the code and press Enter.
- Enter the text you want to send repeatedly in the alert box.
- 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();}