Coder Social home page Coder Social logo

whatsapp-spam-bot-send-messages-on-loop's Introduction

Whatsapp-spam-bot-send-messages-on-loop

Steps to send whatsapp messages on loop: -

  1. Open Whatsapp web.
  2. Click on the person you want to send messages on loop.
  3. then open the browser console.
  4. copy the code from below.
  5. paste the code in browser console.
  6. Hit enter then it will ask you to type your message and the number of times you want to send the message.
  7. Done. ๐Ÿ‘

NOTE: there are two class names that are keep on changing, so if this code throws any error then just inspect the textbox of whatsapp and change the class name accoring to that in 5th line of code. and same for send button in 9th line.

var message = prompt("Enter your message", "โ€Ž");
var counter = parseInt(prompt("How many Times ?", 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();
}

whatsapp-spam-bot-send-messages-on-loop's People

Contributors

geekybharat99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

whatsapp-spam-bot-send-messages-on-loop's Issues

Error

It shows..
Uncaught TypeError: Cannot set property 'innerHTML' of undefined
at :7:21

Getting error

Uncaught TypeError: Cannot set properties of undefined (setting 'innerHTML')
at :7:20
(anonymous) @ VM491:7
VM492:1 Uncaught SyntaxError: Identifier '__scdnguid' has already been declared

if someOne have Error paste this code.->

if someOne gettin Error paste this code.->
NOTE: but you have to check class names because it changes after few times
AND First you have to type something in person message box then button will showed up then right click on that button to see its class name
OtherWise it will not work

var message = prompt("Enter your message", "โ€Ž");
var counter = parseInt(prompt("How many Times ?", 10));
window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent("input", { bubbles: true });
var textbox = document.getElementsByClassName("selectable-text copyable-text iq0m558w")[0];
for (let index = 0; index < counter; index++) {
textbox.innerHTML = message;
textbox.dispatchEvent(event);
document.getElementsByClassName("tvf2evcx oq44ahr5 lb5m6g5c svlsagor p2rjqpw5 epia9gcq")[0].click();
}

i get a error back

VM1362:7 Uncaught TypeError: Cannot set properties of undefined (setting 'innerHTML')
at :7:21
(anonymous) @ VM1362:7
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.