Telegram Auto Spammer

Allows you to spam in chat on Telegram

  1. // ==UserScript==
  2. // @name Telegram Auto Spammer
  3. // @copyright SilkArt (GitHub)
  4. // @license MIT
  5. // @description Allows you to spam in chat on Telegram
  6. // @match https://web.telegram.org/
  7. // @match https://web.telegram.org/*
  8. // @version 0.0.1.20210209234834
  9. // @namespace https://gf.qytechs.cn/users/736156
  10. // ==/UserScript==
  11. var message = prompt("Message:");
  12. var interval = prompt("Messages interval:") ;
  13. var count = prompt("Messages count:") ;
  14. var notifyInterval = prompt("Notification interval:") ;
  15. var i = 0 ;
  16. var timer = setInterval(function(){
  17. document.getElementsByClassName('composer_rich_textarea')[0].innerHTML = message;
  18. $('.im_submit').trigger('mousedown');
  19. i++;
  20. if( i == count )
  21. clearInterval(timer);
  22. if( i % notifyInterval == 0)
  23. console.log(i + ' MESSAGES SENT');
  24. } , interval * 1000 ) ;

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址