👓 TWELP: Twitter Help | Standardista

Read TWELP: Twitter Help by Estelle Weyl (Standardista)

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.