Sometimes Twitter gets things wrong. Very, very, wrong. A few âfeaturesâ that I think are bugs include Twitter Moments,
To this end, I created a little bookmarklet called âTWELPâ.
The bookmarklet creates a kill function that:
- hides promoted tweets by finding the parent tweet containing aÂ
promoted-tweet
 child class- hides any âlikedâ tweets that contain the heart icon, including uninteresting tweets in your stream suck as the fact that your friend Jane liked a tweet of a picture of her acquaintance Joe, who you are not following, eating an oyster. Seriously, who the fuck cares? It also hides the âpeople who liked your tweetâ feature in your notifications. Not sure if that is a feature or a bug.
- The â.js-activity-genericâ hides the âpat and chris followed leslieâ. Seriously, double wtf cares? I am testing in production, so maybe this has some unwanted side effects.
- hides the âMomentsâ tab by hiding the tab that has the Â
js-moments-tab class
- hides promoted modules that I hate like âIn Case You Missed Itâ and âWho to followâ
- Calls itself once per second so if you scroll, it will continue killing those annoying tweets mentioned above.
- You have to pass window.jQuery to $ because Firefox defines itâs own $. (Thanks to @Potch for that tidbit)
TWELPÂ â You can drag this link to your bookmarks bar, and click TWELP bookmarklet whenever you load Twitter. It kills the âMomentsâ tab, all ads, and removes the âX likedâ tweets.