Created
April 10, 2015 19:28
-
-
Save scriptnull/b370a990423f48221f22 to your computer and use it in GitHub Desktop.
Spam the facebook chats with help of fbspam.js
This file contains 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
var message = "Testing Facebook Spam Script."; //spam message | |
var interval = 1 ; // in seconds | |
var count = 1000 ; //number of times to send | |
var notifyInterval = 5 ; //notify | |
var i = 0 ; | |
var timer = setInterval(function(){ | |
document.getElementsByClassName('uiTextareaNoResize uiTextareaAutogrow _1rv')[0].value = message; | |
document.getElementsByClassName('_1ri uiButton uiButtonConfirm')[0].children[0].click(); | |
i++; | |
if( i == count ) | |
clearInterval(timer); | |
if( i % notifyInterval == 0) | |
console.log(i + ' MESSAGES SENT'); | |
} , interval * 1000 ) ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment