// Function to fill textarea and click send button
function fillAndSend(message) {
// Select the textarea
const textarea = document.querySelector('textarea[placeholder="Chat with everyone"]');
// Fill the textarea with the message
if (textarea) {
textarea.value = message;
// Trigger input event to simulate user typing
const inputEvent = new Event('input', { bubbles: true });
textarea.dispatchEvent(inputEvent);
}
// Select the send button
const sendButton = document.querySelector('a.send_btn');
// Click the send button
if (sendButton) {
sendButton.click();
}
}
setInterval(() => {
fillAndSend("Beep");
}, 100);
Created
July 5, 2024 20:52
-
-
Save Clivern/2c4ed49d989e321846d39c28be00032b to your computer and use it in GitHub Desktop.
bigolive hacks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment