Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Alpha Meh - 8 "elite"
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Make the blarkes panic ¯\_(ツ)_/¯
- // @author XD
- // @match http://www.eonline.com/news/922295/alpha-male-madness-2018-vote-in-the-elite-8
- // @grant none
- // ==/UserScript==
- window.addEventListener('load', function() {
- // Reload after voting
- setInterval(function() {
- refresh = true;
- jQuery('.sub-poll__submit').each(function() {
- if(jQuery(this).attr('disabled') === undefined) {
- refresh = false;
- }
- });
- if(refresh)
- location.reload();
- }, 1000);
- }, false);
- window.addEventListener('load', function() {
- // Click Vote after captcha is solved
- setInterval(function() {
- jQuery('.sub-poll__submit').click();
- }, 1000);
- }, false);
- $('.sub-poll__title').each(function() {
- if (!($(this).text().includes("Bob"))){
- $(this).parent().remove();
- }
- });
- $('.column').each(function() {
- var text = $(this).html();
- $(this).html(text.replace('The 100', 'The LOO'));
- text = $(this).html();
- $(this).html(text.replace('Noel Fisher (Shameless)', 'Not Bob XD'));
- });
- $('.poll__title').html("Alpha Meh Madness");
- $('.sub-poll__title').html("Bob vs. some other dude");
- $('.leaderboard').remove();
- $('.article-meta').remove();
- $('#block-0-img').remove();
- $('#photo-txt-0').remove();
- $('#cta-1').remove();
- $('.mboxDefault').remove();
- $('#rail').remove();
- $('#text-3').remove();
- $('#outbrain').remove();
- $('#social-bar--bottom-centered').parent().remove();
- $('.entry_footer').remove();
- $('.glossy__btn').remove();
- $('.footer').remove();
- $('.fb-comments-container').remove();
- $('#poll-15776-107774').parent().html("<span>---</span>");
- $('#poll-15776-107777').prop('checked', true);
- $('#poll-15776-107778').parent().html("<span>---</span>");
- $('#poll-15776-107780').prop('checked', true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement