Created
July 7, 2019 21:40
-
-
Save steeleforge/47ac8348d0341ad4231f380f68a4678e to your computer and use it in GitHub Desktop.
block twitter users with promoted ads
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
javascript:localStorage.removeItem( 'promoted_accounts' );[...document.querySelectorAll('.promoted-account, .promoted-trend, .promoted-tweet')].map(el=>el.style.cssText='display:none!important');[...document.querySelectorAll('.promoted-tweet .js-actionBlock button')].map(el=>{if($){setTimeout(function() { $(el).trigger('click');$('.block-button').click(); },500) }}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment