Skip to content

Instantly share code, notes, and snippets.

View afrizal423's full-sized avatar
🎯
Focusing

Afrizal Muhammad Yasin afrizal423

🎯
Focusing
View GitHub Profile
@dimasmiftah
dimasmiftah / whatsapp-spam
Last active March 14, 2024 18:11
whatsapp-spam | JavaScript code for spamming WhatsApp chat. https://vt.tiktok.com/ZSvHxrsX/
const input = document.querySelectorAll("[contenteditable='true']")[1];
function dispatch(input, message) {
var evt = new InputEvent('input', {
bubbles: true,
});
input.innerHTML = message;
input.dispatchEvent(evt);
document.querySelector('span[data-icon="send"]').click();
}