Advertisement
CSGOPolygonCoder

Untitled

Jan 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Discussions SPAM BOT
  3. // @version 1.0
  4. // @author Kaszanka
  5. // @match *://steamcommunity.com/groups/CSGOPolygon/discussions/*
  6. // @match *://steamcommunity.com/groups/CSGOPolygon/discussions/*
  7. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. setTimeout(function(){
  12. var TOPIC=`BEST FREE COINS CODE: EZ500`;
  13. var MESSAGE=`
  14. [strike]======================================================================[/strike]
  15.  
  16. BEST FREE COINS CODE: EZ500
  17.  
  18. [strike]=====================================================================[/strike]
  19.  
  20. BEST FREE COINS CODE: EZ500
  21.  
  22. [strike]=====================================================================[/strike]
  23.  
  24. BEST FREE COINS CODE: EZ500
  25.  
  26. [strike]=====================================================================[/strike]
  27.  
  28. BEST FREE COINS CODE: EZ500
  29.  
  30. [strike]=====================================================================[/strike]`;
  31. function MakePost(){
  32. setTimeout(function(){
  33. setTimeout(function(){
  34. jQuery(".forum_topic_input").val(TOPIC);
  35. jQuery(".forumtopic_reply_textarea").val(MESSAGE);
  36. setInterval(function(){
  37. jQuery.noConflict(jQuery(".forum_newtopic_action .btn_green_white_innerfade").click());
  38. setTimeout(function(){
  39. location.reload();
  40. }, 12000);
  41. }, 2000);
  42. }, 1000);
  43. }, 10000);
  44. }
  45. function MakeComment(){
  46. setTimeout(function(){
  47. jQuery(".forumtopic_reply_textarea").val(MESSAGE);
  48. setInterval(function(){
  49. jQuery.noConflict(jQuery(".commentthread_entry_submitlink .btn_green_white_innerfade").click());
  50. setTimeout(function(){
  51. location.reload();
  52. }, 12000);
  53. }, 1000);
  54. }, 10000);
  55. }
  56.  
  57. if (location.href === "https://steamcommunity.com/groups/CSGOPolygon/discussions/"){
  58. MakePost();
  59. }else{
  60. if (location.href === "http://steamcommunity.com/groups/CSGOPolygon/discussions/"){
  61. MakePost();
  62. }else{
  63. if (jQuery(".commentthread_comments .responsive_body_text").length === 3){
  64. location.href = "https://steamcommunity.com/groups/CSGOPolygon/discussions/";
  65. }else{
  66. MakeComment();
  67. }
  68. }
  69. }
  70. }, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement