###
๐ฝโ ๏ธ ๐ง๐ต๐ถ๐ ๐๐ฐ๐ฟ๐ถ๐ฝ๐ ๐ถ๐ ๐ท๐๐๐ ๐๐ต๐ฒ ๐๐ผ๐ผ๐น ๐ณ๐ผ๐ฟ ๐ฒ๐ฑ๐๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐ฎ๐น ๐ฎ๐ป๐ฑ ๐๐ฒ๐๐๐ถ๐ป๐ด ๐ฝ๐๐ฟ๐ฝ๐ผ๐๐ฒ๐ โ ๏ธ๐ฝ
###
Descriptions:
This is script for spamming the message from WhatsApp Web;
It can send messages very quickly;
It supports emoji's too.
Usage:
โณ Go to WhatsApp Web;
โณ Open the console (F12);
โณ Console tab;
โณ Paste the code into the console and press ENTER.
async function enviarScript(scriptText){
const lines = scriptText.split(/[\n\t]+/).map(line => line.trim()).filter(line => line),
main = document.querySelector("#main"),
textarea = main.querySelector(`div[contenteditable="true"]`)
if(!textarea) throw new Error("Nรฃo hรก uma conversa aberta")
for(const line of lines){
console.log(line)
textarea.textContent = line
textarea.dispatchEvent(new InputEvent("input", { bubbles: true }));
(main.querySelector(`[data-testid="send"]`) || main.querySelector(`[data-icon="send"]`)).click()
if(lines.indexOf(line) !== lines.length - 1) await new Promise(resolve => setTimeout(resolve, 250))
}
return lines.length
}
enviarScript(`
0
1
2
3
4
5
6
7
8
9
10
`).then(e => console.log(`Cรณdigo finalizado, ${e} mensagens enviadas`)).catch(console.error)
Change the message and have fun.

Comments