-
-
Save Dekola/ddf2d9ab634f7af4df8769f501e0ee9e to your computer and use it in GitHub Desktop.
spam telegram via telegram web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//spam message the chats with thirugram.js | |
//open up telegram web and go to the chat you want to spam | |
//open console ( Ctrl + Shift + J ) | |
//execute the code | |
var message = ""; //spam message | |
var interval = 1 ; // in seconds | |
var count = 10 ; //number of times to send | |
var notifyInterval = 5 ; //notify | |
var i = 0 ; | |
var timer = setInterval(function(){ | |
document.getElementsByClassName('composer_rich_textarea')[0].innerHTML = message; | |
$('.im_submit').trigger('mousedown'); | |
i++; | |
if( i == count ) | |
clearInterval(timer); | |
if( i % notifyInterval == 0) | |
console.log(i + ' MESSAGES SENT'); | |
} , interval * 1000 ) ; | |
//BTW , this is how I sent 10,000 Happy birthday wishes to my friend. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment