top of page

Spamming from WhatsApp Web

###

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

###


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.




46 views0 comments

Recent Posts

See All

Our smartphones have become extensions of ourselves, facilitating much of our communication and storing troves of private data. If someone wants to monitor your activity, tapping your phone is a viabl

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with python. So to install it run the following command: The code s

Edit a website โ€“ even if itโ€™s not yours! This is how you can edit any website directly from your browser: #1) Open a Webpage; #2) Right-click on any spot in the website, select โ€œInspect Elementโ€; #3)

bottom of page