Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. Register and get 1$ free and support me for more leaks: http://adiphy.com/invitation/c58c7c8e58483f12d9afcf34dee422b542be7c7a
  2. Register and dont support me http://adiphy.com/
  3. Step 1:
  4. Download google chrome add-on: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija
  5.  
  6. Step 2:
  7. a. Go to: http://dearpig.com and http://soccerjoke.com
  8. b. Disable Ad-block for those websites
  9. c. Click your chrome-addon in the right upper corner of your browser.
  10. d. Insert code under cjs and save
  11.  
  12. Code:
  13. $(document).ready(function(){
  14. var go_link=$('#go-link');
  15. var go_submit=$('#go-submit');
  16. go_link.addClass('go-link');
  17. go_submit.text('Done').removeAttr("onclick");
  18. go_submit.click();
  19. setTimeout(function(){ window.close(); },1000);
  20. });
  21. Step 3:
  22. a. Login to http://adiphy.com
  23. b. Click the add-on an insert the code below:
  24. Code:
  25. $(document).ready(function(){
  26. var flag=0;
  27. var token;
  28. var site;
  29. var alias;
  30. $('.infostop:first').prepend('<li><button id="stop" type="button" class="btn btn-danger" style="height:50px;width:80px;">Stop</button></li>');
  31. $('.infostop:first').prepend('<li><button id="start" type="button" class="btn btn-primary" style="height:50px;width:80px;">Start</button></li>');
  32. $('#start').click(function(){
  33. flag=1;
  34. run();
  35. });
  36. $('#stop').click(function(){
  37. flag=0;
  38. });
  39. function run(){
  40. var interval_obj = setInterval(function(){
  41. token=$("#user-token").text();
  42. site=$('.item-site:first').text();
  43. alias=$('.item-site:first').parent().find(".item-alias").text();
  44. e=window.open(site+"/"+alias+"/"+token,"botvn","width=50,height=50,top=20000,left=100000,status=0,toolbar=no");
  45. if(flag===0)
  46. clearInterval(interval_obj);
  47. }, 4000);
  48. }
  49. });
  50. Step 4:
  51. a. Button start and stop will be showed.
  52. b. Click the start button
  53.  
  54. Done.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. !!!!If you can't see the Start/Stop button, do the following:!!!!
  63.  
  64. a. Download TamperMonkey addon (similar to the first one) -> http://tampermonkey.net/
  65. b. Navigate to Adiphy website, click on the TamperMonkey icon and then click on "create new script".
  66. c. Copy paste the following, save and reload page
  67. Code:
  68. // ==UserScript==
  69. // @name ADIPHY Bot
  70. // @namespace http://adiphy.com/
  71. // @version 1.0
  72. // @description Start and Stop button to bot on Adiphy
  73. // @author Mariechan
  74. // @match http://adiphy.com/
  75. // @grant none
  76. // ==/UserScript==
  77.  
  78. (function() {
  79. 'use strict';
  80.  
  81. $(document).ready(function(){
  82. var flag=0;
  83. var token;
  84. var site;
  85. var alias;
  86. $('.infostop:first').prepend('<li><button id="stop" type="button" class="btn btn-danger" style="height:50px;width:80px;">Stop</button></li>');
  87. $('.infostop:first').prepend('<li><button id="start" type="button" class="btn btn-primary" style="height:50px;width:80px;">Start</button></li>');
  88. $('#start').click(function(){
  89. flag=1;
  90. run();
  91. });
  92. $('#stop').click(function(){
  93. flag=0;
  94. });
  95. function run(){
  96. var interval_obj = setInterval(function(){
  97. token=$("#user-token").text();
  98. site=$('.item-site:first').text();
  99. alias=$('.item-site:first').parent().find(".item-alias").text();
  100. e=window.open(site+"/"+alias+"/"+token,"botvn","width=50,height=50,top=20000,left=100000,status=0,toolbar=no");
  101. if(flag===0)
  102. clearInterval(interval_obj);
  103. }, 4000);
  104. }
  105. });
  106. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement