Whatsapp-loop-send-messages The steps to send whatsapp messages on loop:
- Open Whatsapp web
- Click on the person you want to send messages on loop
- Open the browser console
- Copy the code from below (*)
- Paste the code in browser console.
- Select enter then it will ask you to type your message and the number of times you want to send the message
(*)
var message = prompt("Enter your loop message: ", "");
var counter = parseInt(prompt("How many times do you want to send the message?", 10));
window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent("input", { bubbles: true });
var textbox = document.getElementsByClassName("_13NKt copyable-text selectable-text")[1];
for (let index = 0; index < counter; index++) {
textbox.innerHTML = message;
textbox.dispatchEvent(event);
document.getElementsByClassName("_4sWnG")[0].click();
}