/Collapse-Inline-Photos

Userscript to collapse Twitter inline photos.

Primary LanguageJavaScript

Collapse Inline Photos

A quick and dirty userscript to revert the recent changes to Twitter that shows photos in tweets inline by default. I expect Twitter to introduce a setting to disable them soon, but until then install this script and they'll disappear. Too easy!

How does it work? This script inserts some CSS that hides inline photos for tweets closed tweets, but shows it for tweets that are open. The only JS is inserting the CSS!

Installing (Chrome)

Installing (Firefox)

  • Install the Greasemonkey extension
  • Download the script
  • Open the script with Firefox, prompting you to install it with Greasemonkey
  • Browse Twitter!

Roadmap

  • Have an idea? Let me know!