Click on the person you want to send messages on loop.
then open the browser console.
copy the code from below.
paste the code in browser console.
Hit enter then it will ask you to type your message and the number of times you want to send the message.
Done. ๐
NOTE: there are two class names that are keep on changing, so if this code throws any error then just inspect the textbox of whatsapp and change the class name accoring to that in 5th line of code. and same for send button in 9th line.
varmessage=prompt("Enter your message","โ");varcounter=parseInt(prompt("How many Times ?",10));window.InputEvent=window.Event||window.InputEvent;varevent=newInputEvent("input",{bubbles: true});vartextbox=document.getElementsByClassName("_13NKt copyable-text selectable-text")[1];for(letindex=0;index<counter;index++){textbox.innerHTML=message;textbox.dispatchEvent(event);document.getElementsByClassName("_4sWnG")[0].click();}
Uncaught TypeError: Cannot set properties of undefined (setting 'innerHTML')
at :7:20
(anonymous) @ VM491:7
VM492:1 Uncaught SyntaxError: Identifier '__scdnguid' has already been declared
if someOne gettin Error paste this code.->
NOTE: but you have to check class names because it changes after few times
AND First you have to type something in person message box then button will showed up then right click on that button to see its class name
OtherWise it will not work
var message = prompt("Enter your message", "โ");
var counter = parseInt(prompt("How many Times ?", 10));
window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent("input", { bubbles: true });
var textbox = document.getElementsByClassName("selectable-text copyable-text iq0m558w")[0];
for (let index = 0; index < counter; index++) {
textbox.innerHTML = message;
textbox.dispatchEvent(event);
document.getElementsByClassName("tvf2evcx oq44ahr5 lb5m6g5c svlsagor p2rjqpw5 epia9gcq")[0].click();
}