Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Alpha Meh - 8 "elite"
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Make the blarkes panic ¯\_(ツ)_/¯
  6. // @author XD
  7. // @match http://www.eonline.com/news/922295/alpha-male-madness-2018-vote-in-the-elite-8
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. window.addEventListener('load', function() {
  13. // Reload after voting
  14. setInterval(function() {
  15. refresh = true;
  16. jQuery('.sub-poll__submit').each(function() {
  17. if(jQuery(this).attr('disabled') === undefined) {
  18. refresh = false;
  19. }
  20. });
  21. if(refresh)
  22. location.reload();
  23. }, 1000);
  24. }, false);
  25.  
  26. window.addEventListener('load', function() {
  27. // Click Vote after captcha is solved
  28. setInterval(function() {
  29. jQuery('.sub-poll__submit').click();
  30. }, 1000);
  31. }, false);
  32.  
  33.  
  34. $('.sub-poll__title').each(function() {
  35. if (!($(this).text().includes("Bob"))){
  36. $(this).parent().remove();
  37. }
  38. });
  39.  
  40.  
  41. $('.column').each(function() {
  42. var text = $(this).html();
  43. $(this).html(text.replace('The 100', 'The LOO'));
  44. text = $(this).html();
  45. $(this).html(text.replace('Noel Fisher (Shameless)', 'Not Bob XD'));
  46. });
  47. $('.poll__title').html("Alpha Meh Madness");
  48. $('.sub-poll__title').html("Bob vs. some other dude");
  49.  
  50. $('.leaderboard').remove();
  51. $('.article-meta').remove();
  52. $('#block-0-img').remove();
  53. $('#photo-txt-0').remove();
  54. $('#cta-1').remove();
  55. $('.mboxDefault').remove();
  56. $('#rail').remove();
  57. $('#text-3').remove();
  58. $('#outbrain').remove();
  59. $('#social-bar--bottom-centered').parent().remove();
  60. $('.entry_footer').remove();
  61. $('.glossy__btn').remove();
  62. $('.footer').remove();
  63. $('.fb-comments-container').remove();
  64.  
  65.  
  66.  
  67. $('#poll-15776-107774').parent().html("<span>---</span>");
  68. $('#poll-15776-107777').prop('checked', true);
  69. $('#poll-15776-107778').parent().html("<span>---</span>");
  70. $('#poll-15776-107780').prop('checked', true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement