Paidverts autofiller script

This Paidverts script will automatically fill the fields that you need to type in order to view ads on paidverts.com

  1. // ==UserScript==
  2. // @name Paidverts autofiller script
  3. // @namespace caede
  4. // @description This Paidverts script will automatically fill the fields that you need to type in order to view ads on paidverts.com
  5. // @include *://paidverts.com/*
  6. // @include *://www.paidverts.com/*
  7. // @version 1.0.8
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
  9. // @grant GM_xmlhttpRequest
  10. // @grant GM_info
  11. // @grant GM_setValue
  12. // @grant GM_getValue
  13. // @grant GM_addStyle
  14. // ==/UserScript==
  15. //////JQuery Compatibility statement//////
  16. this.$ = this.jQuery = jQuery.noConflict(true);
  17. //////JQuery Compatibility statement//////
  18. //body style
  19. GM_addStyle("body { background-color: #07054c; background-image:url('http://i.imgur.com/MdIx1Se.png');}");
  20. //element styles
  21. GM_addStyle("a { color: #07054c; text-shadow: 0 0 0.3em #32c7c5 }");
  22. GM_addStyle("b4 { color: #07054c; }");
  23. GM_addStyle(".member_top { background-image:url('http://i.imgur.com/m6h2T0l.png'); }");
  24. GM_addStyle(".menu_top_one { color: white; background-color: #07054c;}");
  25. GM_addStyle(".link_green a, .link_green_small a { color: #32c7c5; }");
  26. GM_addStyle(".link_green a, .link_green_small a { color: #32c7c5; -webkit-transition: all 0.4s ease-out; -moz-transition: all 0.4s ease-out; -o-transition: all 0.4s ease-out; -ms-transition: all 0.4s ease-out; }");
  27. GM_addStyle("#countdown { color: #07054c; }");
  28. GM_addStyle(".myads_nag { background-color: #07054c; }");
  29. GM_addStyle(".myacc_nag_z { background-color: #07054c; }");
  30. GM_addStyle(".myads_nag_right { background-color: #07054c; }");
  31. GM_addStyle("h2.green { background-color: #07054c; }");
  32. GM_addStyle(".button_green_sans3 { background-color: #07054c; }");
  33.  
  34.  
  35. //button styles
  36. GM_addStyle(".create_account { background-color: #32c7c5; color: #07054c; }");
  37. GM_addStyle(".button_green_big { background-color: #32c7c5; color: #07054c; }");
  38. GM_addStyle(".button_green_submit { background-color: #32c7c5; color: #07054c; }");
  39. GM_addStyle(".button_green_small { background-color: #32c7c5; border: 2px solid #32c7c5; color: #07054c; } .button_green_small:hover { border: 2px solid #32c7c5; background-color: white; color: #32c7c5; } ");
  40. GM_addStyle(".button_cashout { background-color: #32c7c5; color: #07054c; border: 1px solid #07054c; } .button_cashout:hover { background-color: white; color: #07054c; border: 1px solid #07054c; } ");
  41. GM_addStyle(".button_green_sans2, .button_grey_small, .button_grey_big, .button_green_small, .button_green_sans, .button_green_sans2, .button_green_submit, .button_green_big, .button_black_small, .button_black_big { background-color: #32c7c5; color: #07054c; } .button_green_sans2:hover { border: 2px solid #32c7c5; background-color: white; color: #32c7c5; } ");
  42.  
  43.  
  44. //menu styles
  45. GM_addStyle(".menu_top_one { color: white; background-color: #07054c;} ");
  46. //menu icon styles
  47. GM_addStyle(".menu_link_myad { background: url('http://i.imgur.com/qjaae4G.png') no-repeat 194px 7px; } .menu_link_myad:hover { background: url('http://i.imgur.com/qjaae4G.png') no-repeat 194px 7px; }");
  48. GM_addStyle(".menu_link_buyad { background: url('http://i.imgur.com/NMEpLUB.png') no-repeat 194px 7px; } .menu_link_buyad:hover { background: url('http://i.imgur.com/NMEpLUB.png') no-repeat 194px 7px; }");
  49. GM_addStyle(".menu_link_paidad { background: url('http://i.imgur.com/TM66p0C.png') no-repeat 194px 7px; } .menu_link_paidad:hover { background: url('http://i.imgur.com/TM66p0C.png') no-repeat 194px 7px; }");
  50. GM_addStyle(".menu_link_cashout { background: url('http://i.imgur.com/Pkibyb8.png') no-repeat 194px 7px; } .menu_link_cashout:hover { background: url('http://i.imgur.com/Pkibyb8.png') no-repeat 194px 7px; }");
  51. GM_addStyle(".menu_link_ref { background: url('http://i.imgur.com/itdbxD4.png') no-repeat 194px 7px; } .menu_link_ref:hover { background: url('http://i.imgur.com/itdbxD4.png') no-repeat 194px 7px; }");
  52. GM_addStyle(".menu_link_games { background: url('http://i.imgur.com/g12op2r.png') no-repeat 194px 7px; } .menu_link_games:hover { background: url('http://i.imgur.com/g12op2r.png') no-repeat 194px 7px; }");
  53. GM_addStyle(".menu_link_account { background: url('http://i.imgur.com/Vb7Ra8B.png') no-repeat 194px 7px; } .menu_link_account:hover { background: url('http://i.imgur.com/Vb7Ra8B.png') no-repeat 194px 7px; }");
  54. GM_addStyle(".menu_link_stats { background: url('http://i.imgur.com/mzjaE36.png') no-repeat 194px 7px; } .menu_link_stats:hover { background: url('http://i.imgur.com/mzjaE36.png') no-repeat 194px 7px; }");
  55. GM_addStyle(".menu_link_logout { background: url('http://i.imgur.com/sF4LKky.png') no-repeat 194px 7px; } .menu_link_logout:hover { background: url('http://i.imgur.com/sF4LKky.png') no-repeat 194px 7px; }");
  56. GM_addStyle(".menu_link_logout { background: url('http://i.imgur.com/sF4LKky.png') no-repeat 194px 7px; } .menu_link_logout:hover { background: url('http://i.imgur.com/sF4LKky.png') no-repeat 194px 7px; }");
  57. //other styles
  58. GM_addStyle(".green_info { background-color: #28eee7; } ");
  59. GM_addStyle(".top_bar { background-color: #07054c; } ");
  60. GM_addStyle(".button_tp { background-color: #32c7c5; color: #07054c; } .button_tp:hover { border: 2px solid #32c7c5; background-color: white; color: #07054c; } ");
  61.  
  62. //
  63.  
  64. $('#copy-1').trigger('click');
  65. $('#copy-2').trigger('click');
  66. $('#copy-3').trigger('click');
  67. setTimeout(function(){
  68. document.getElementById('view_ad').style.display = "block";
  69. $('#view_ad').trigger('click');
  70. }, 100);
  71.  
  72. setInterval(function(){
  73. var element = document.getElementById('captcha_button');
  74. var done = document.getElementById('button');
  75.  
  76. if (typeof(element) != 'undefined' && element != null)
  77. {
  78.  
  79. if(element.style.display === "none"){
  80. }
  81. else{
  82. $('.img img')[2].click();
  83. $('#captcha_button').click();
  84. }
  85.  
  86. if(done.style.display == "inline-block"){
  87. $('#button').click();
  88. setInterval( function() {
  89. $('#closeBtn').click();
  90. $('#playGridAgn').click();
  91. },300);
  92.  
  93. }
  94.  
  95.  
  96. }
  97.  
  98. }, 1000);
  99.  
  100. $("iframe").remove(".frame_bar");
  101. document.getElementById('tips').innerHTML = '<font color="white">This annoying ass ad has been hidden!</font><font color="yellow"> :)</font>';