Last active
July 10, 2021 20:19
-
-
Save cfg/3f3232d10bbf8a20a52f28d1742ba50b to your computer and use it in GitHub Desktop.
Anti-Adblock Removal Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.querySelector('.article__body.article__overlay') && document.querySelector('.article__body.article__overlay').classList.remove('article__overlay'); | |
document.getElementById('checkout-container') && document.getElementById('checkout-container').remove(); | |
document.querySelector('div.piano-article-overlay') && document.querySelector('div.piano-article-overlay').remove(); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.getElementById('checkout-container') && document.getElementById('checkout-container').remove(); | |
document.getElementsByClassName('chart-piano-overlay__attachment-point').length && document.getElementsByClassName('chart-piano-overlay__attachment-point').item(0).remove(); | |
document.getElementById('main') && document.getElementById('main').classList.remove('piano-content-overlay'); | |
[].forEach.call(document.querySelectorAll('.piano-content-overlay__gated-item'), function (el) { | |
el.classList.remove('hidden'); | |
el.classList.remove('piano-content-overlay__gated-item'); | |
}); | |
[].forEach.call(document.querySelectorAll('.hidden'), function (el) { | |
el.classList.remove('hidden'); | |
}); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
/* bizjournals.com */ | |
document.querySelector('div[data-ct="OPT:AdBlocker:CloseWindow"]').remove(); | |
document.body.classList.remove('is-overlaid'); | |
document.documentElement.classList.remove('is-overlaid'); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.documentElement.removeAttribute('data-paywall-overlay-status'); | |
document.body.removeAttribute('data-paywall-overlay-status'); | |
document.getElementById('graphics-paywall-overlay').remove(); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.body.classList.remove('overflow_x_hidden'); | |
document.body.style.overflow=''; | |
document.getElementsByClassName('meter-social-connect').item(0).remove() | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.querySelector('div.connext-modal-backdrop').remove(); | |
document.querySelector('div.modal-scrollable').remove(); | |
document.getElementById('TestAdBlock').remove(); | |
document.body.classList.remove('modal-open'); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.body.classList.remove('tp-modal-open'); | |
document.querySelector('div[class*=tp-backdrop]') && document.querySelector('div[class*=tp-backdrop]').remove(); | |
document.querySelector('div[class*=tp-modal]') && document.querySelector('div[class*=tp-modal]').remove(); | |
document.querySelector('h4.piano-freemium') && document.querySelector('h4.piano-freemium').remove(); | |
document.querySelector('section.post-content-more') && document.querySelector('section.post-content-more').remove(); | |
if ( document.getElementById('piano-inline-content-wrapper') ) { document.getElementById('piano-inline-content-wrapper').style.display=''; } | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.documentElement.classList.remove('mdl-js'); | |
document.body.classList.remove('adblock-on'); | |
document.body.classList.remove('body--no-scroll'); | |
document.getElementsByClassName('fbs-auth__adblock').length && document.getElementsByClassName('fbs-auth__adblock')[0].remove(); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.getElementsByClassName('fc-ab-root').length && document.getElementsByClassName('fc-ab-root').item(0).remove(); | |
document.getElementsByClassName('fc-whitelist-root').length && document.getElementsByClassName('fc-whitelist-root').item(0).remove(); | |
document.getElementsByTagName('metering-modal').length && document.getElementsByTagName('metering-modal').item(0).remove(); | |
document.body.style.overflow=''; | |
document.body.style.height=''; | |
document.body.style.position=''; | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.querySelector('div[class*=unblockplease-overlay]').remove(); | |
document.querySelector('div[class*=unblockplease]').style.opacity=1; | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
/* usatoday.com, cincinnati.com */ | |
document.querySelector('div[class^=sp_veil]').remove(); | |
document.querySelector('div[class^=sp_message]').remove(); | |
document.documentElement.classList.remove('sp-message-open'); | |
document.body.style.overflowY=''; | |
document.body.style.height=''; | |
document.documentElement.style.overflowY=''; | |
document.documentElement.style.height=''; | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
Wallkit.isAuthenticated = window.WallKitGated.userCanEditPosts = window.Wallkit.checkAccess=function(){return true;}; | |
window.WallKitGated.launched = true; | |
window.removeEventListener('scroll', window.WallKitGated.scrollEvent); | |
window.WallKitGated.hideOverlay(); | |
document.body.classList.remove('wrap-pro-article'); | |
document.body.classList.add('single-format-standard'); | |
document.body.classList.add('boxed-layout'); | |
document.body.classList.add('two-col-left'); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.getElementsByClassName('wallkit-paywall-block').length && document.getElementsByClassName('wallkit-paywall-block').item(0).remove(); | |
[].forEach.call(document.querySelectorAll('.wrappro-paywall.not-logged-in'), function (el) { | |
el.classList.remove('not-logged-in', 'wrappro-paywall'); | |
el.classList.add('logged-in', 'wrappro-non-paywall'); | |
el.style.filter = ''; | |
el.style.transitionProperty = ''; | |
el.style.transitionDuration = ''; | |
}); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
document.getElementById('modal-portal-regiwall') && document.getElementById('modal-portal-regiwall').remove(); | |
document.body.style.overflow='auto'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment