A simple input spammer that allows you to send a message for N times. The message can be typed by you or you can get one from an API. Currently, Chuck Norris API is supported.
Initially written for Whatsapp, but now it works on Telegram too. It should work on other sites as well.
- two message modes:
msg
andapi
- msg:
@spam msg "your custom message here" 5 start
- api:
@spam api "apiName" 5 start
*
- msg:
- customizable speed **
* not working on websites that don't allow to fetch APIs due Content Security Policy. Works on Telegram.
** it might still be slow because of the server, especially if using API mode
@spam msg/api "custom message/apiName" 5 start
, where 5
is how many times to send.
- Copy the code of spam.js.
- Open https://web.whatsapp.com/ or https://web.telegram.org/.
- Click on a chat.
- Open DevTools Console (
CTRL + SHIFT + J
for Chrome), and paste the script. Now you can close the console. - Type in the input bar using the format as seen above.
- Once the spammer recognizes the command, it'll automatically start. This could be delayed a bit if the speed is too big.
- Find the HTML selector of the input box on the social-media website.
- Add a new key/value pair (name/selector) in
socialMediaPlatforms
object inspam.js
. - Test and see if it works.