Twitter: Hide images on timeline

Added by mildmojo@userstyles, Created: Oct 28, 2013, Updated: Oct 13, 2016
  • With the style applied
  • With the style applied (Generated screenshot)
  • Without the style applied (Generated screenshot)

Description:

Twitter.com started showing images, videos, cards, and sales forms inline in your feed. There's no option to turn it off. This style restores the old click-to-expand behavior for tweeted images, videos, and cards. It also unhides now-invisible media links (e.g. pic.twitter.com).

Quoted tweets are displayed inline, but quoted images are hidden. Click the parent tweet to expand and reveal the quoted image.

More info
Someday, this may break. Someday, I may fix it. It works for me as of the last update date.

NOTE: The morning of 2016-02-02, Twitter removed "click to expand" in favor of terrible modal popups. This style still hides images, but now you have to deal with dog-slow, ugly popups. =( Sorry, all.

UPDATES
-----------
2016-10-13: Unhides 'pic.twitter.com' text in quoted tweets.
2016-06-08: Fixes for Twitter changes. Twitter changed .opened-tweet to .permalink-tweet.
2016-04-08: Adds a space back to media links to separate from content.
2015-12-17: Simplifies CSS, covers more situations.
2015-12-14: Unhides Twitter polls.
2015-12-08: Adds rules that apply the same behavior to your own tweets (grr Twitter CSS).
2015-12-07: Fixes for Twitter changes. Now shows quoted tweets, but hides quoted images until expand.
2015-10-27: Fixes hiding media; Twitter added an 'old-media' designation.
2014-10-01: Fixes unhiding for pic.twitter.com links.
2014-07-08: Simplifies CSS a bunch, makes it work for latest Twitter HTML changes.
2014-06-19: Unhides pic.twitter.com links so you know there's media to view.
2014-06-16: Hides multi-photo posts, leadgen (?) cards.
2014-04-20: 420 update: fixes for new multi-photo posts, simplifies CSS.
2013-11-26: Movember update: fixes Vine hiding. Does not hide icon.
2013-10-31: Halloween update: now hides Vine previews, too.

Installs:
Applies to:
twitter.com
License:
CC0 1.0 Universal.
mildmojo@userstyles has waived all copyright and related or neighboring rights to Twitter: Hide images on timeline, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.