A bash script that uses a JavaScript function to send dad jokes into whatsapp conversations
- Open WhatsApp Web.
- Get the css selectors of the textarea and send button
- Replace the selectors in
whatsapp_msg_sender.js
- Copy the function in
whatsapp_msg_sender.js
into the developer console - Run
dad_jokes_sender.sh
in terminal and focus the developer console(click on it) so the script can paste in the commands - Enjoy annoying your friends :)
-
You can edit
dad_jokes_sender.sh
to set the amount of jokes to send and the delay between each one (default 50 jokes, 5s delay between each one) -
You can edit
whatsapp_msg_sender.js
to set the css selectors for the textarea and the send button