Created
June 26, 2015 17:59
-
-
Save coleww/845fb5a0ffad5b3f8807 to your computer and use it in GitHub Desktop.
block promoted tweets
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
// people who promote tweets tend to be the absolute worst. | |
$('.js-action-profile-promoted').each(function(i, val){ | |
$(this).click() | |
$('.user-dropdown-icon').click() | |
$('.block-text.not-blocked').click() | |
$($('.block-button')[0]).click() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment