top of page

Spamming from WhatsApp Web

Writer's picture: Diniz MartinsDiniz Martins

###

๐Ÿ‘ฝโš ๏ธ ๐—ง๐—ต๐—ถ๐˜€ ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜ ๐—ถ๐˜€ ๐—ท๐˜‚๐˜€๐˜ ๐˜๐—ต๐—ฒ ๐˜๐—ผ๐—ผ๐—น ๐—ณ๐—ผ๐—ฟ ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฎ๐—ป๐—ฑ ๐˜๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—ฝ๐˜‚๐—ฟ๐—ฝ๐—ผ๐˜€๐—ฒ๐˜€ โš ๏ธ๐Ÿ‘ฝ

###


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.




192 views0 comments

Recent Posts

See All

Fake Data in Python

If you are developing applications, testing your software, or just exploring Python's capabilities, you might have faced a situation...

Mobile | Secret Phone Codes

Our smartphones have become extensions of ourselves, facilitating much of our communication and storing troves of private data. If...

Mouse & Keyboard Bot

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with...

Comments


Programming and IT solutions guide on STENGE.info blog
Cybersecurity and Networking tutorials on STENGE.info
IT infrastructure solutions and technology tutorials
STENGE.info logo - Tech Blog for IT Solutions and Tutorials
bottom of page