Created
April 19, 2016 04:18
-
-
Save jhnsnc/ffe8dc6d818a34d06baaaa0548ab97ae to your computer and use it in GitHub Desktop.
A quick bookmarklet for when @Worthless_Bums is filling up your Twitter feed.
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:var c=0;Array.prototype.forEach.call(document.querySelectorAll('.tweet[data-user-id="371635567"]'),function(t){t.parentNode.remove(),c+=1}),window.alert('Removed '+c+' Bum tweets.'); | |
/** | |
* USAGE: Create a new bookmark in your browser. | |
* Copy/Paste the entire line above into the URL/location field. | |
* Name the bookmarklet something like "Remove Bum Tweets". | |
* Click the bookmarklet you created when you're on Twitter.com and feeling overwhelmed with tweets from @Worthless_Bums. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment