Created
August 24, 2016 15:59
-
-
Save funkman/e340af75be3313ee62a0b4015d2c7cb4 to your computer and use it in GitHub Desktop.
Bookmarket to remove various non-adblocked cruft
This file contains hidden or 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
// Removes videos, various top/side/bottom rails that have crap, share and comment bars etc | |
javascript:void((function(){y=document.querySelectorAll('#adBlockerContainer,.robots-nocontent,.OUTBRAIN,.ad,.video-embed,.standard-video,.inline-media,aside.article-rail,object,video,iframe,div[itemprop=video],#sharebar,#addthis,#sidebar-right,.rightSidebar,.cnnplayer,.js-livefyre-comments,.outbrain-relateds,.outbrain-recommended,.right-rail,.side,.widget-area,.sidebar,.sidebar-wrapper,.gdl-right-sidebar,.related_post,.comments-wrapper,#sidebar,#secondary.widget-area,.sticky-social-share,.social-share');for (var x=0;x<y.length;x++){y[x].remove()}}())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment