THIS REQUIRES ‘OLD’ TWITTER!!!!
— to restore old twitter, the best option is to add the ‘Old Twitter Layout’ extension.
For chrome, you can find it here–
Old Twitter Layout Extension (Chrome)
There’s a firefox version out there somewhere, too…
Anyway, then you can use the following— (for now)
Custom filters for µBlock/Adblock/Adblock Plus. (! means adblock skips the line, comments, disabled code etc)
! Image and video Previews (including RT cards)
twitter.com##.stream-item:not(.open) .tweet .AdaptiveMediaOuterContainer
twitter.com##.stream-item:not(.open) .tweet .js-media-container
! Sundry ads and crap
twitter.com##.flex-module
twitter.com##.trends.module.Trends
twitter.com##.js-moments-tab.moments > .js-dynamic-tooltip.js-tooltip.js-nav
! RTs of people you block w/ ‘Tweet Not Available’ markers
twitter.com##.tweet:has(.Tombstone-label)
! Other people’s Likes
twitter.com##.tweet:has(.with-icn.tweet-context):if(.with-icn.tweet-context:has-text(/liked/))
! Other people’s … stuff generally (some overlap with other blocks)
twitter.com##.tweet[data-component-context=”suggest_activity_tweet”]
twitter.com##.tweet[data-component-context=”suggest_recycled_tweet_inline”]
twitter.com##.tweet[data-component-context=”suggest_pyle_tweet”]
! ALL RTs and Likes blocked (noted, but I don’t use this)
twitter.com##.tweet:has(.with-icn.tweet-context)
Install µBlock, Adblock or Adblock Plus Extension:
Add above in custom filters
DONE!
If you have any difficulties, or need instructions for another browser, please feel free to ask me here or on Twitter. (@patrixmyth)
Have a good day!
Bookmarked. Will be doing this tonight. Thank you!
Happy to help.
Hi. Is there a filter(s) to hide photos and vine vids on profile pages themselves? Filters hide newsfeed so far but also looking to hide them on individual Twitter pages/profiles. Thanks for the above filters too BTW! 🙂
If I understand what you’re looking for correctly, then
adding this->
twitter.com##DIV[class=”TwitterPhoto js-media-container”]
to your custom filters should take care of photos.
I haven’t found a solution for vines yet, but when I come up with something I’ll update.
This:
twitter.com##.stream-item:not(.open) .tweet .js-media-container
Seems to work very well for me. It blocks even photo previews from twitter searches (which the others couldn’t do).
As of today my current set of filters have stopped working.
Edit: Nvm, figured it out with the help of a friend.
What was your solution??
The previous set of filters were:
twitter.com###xdm_default8923_provider
twitter.com##.card2-attribution
twitter.com##.expanded-content
twitter.com##.js-tweet-details-dropdown
twitter.com##.util-text-small
twitter.com##div.is-preview
Two new filters are now necessary:
##div.js-old-media-container
##div.OldMedia-container
I love the Internet. And now I can use Twitter without having an aneurysm. Thanks!!
There internet is pretty damn rad.
And you’re welcome.
Good morning! I’m using Win10, Chrome and AdBlock Plus, and unfortunately your filters for ABP do not hide the previews for photos. I don’t know about Vines or multi-pix yet, haven’t come across them since adding filters, but the pix are still there in my TL. Any advice?
Check out the update that adds old-media div to filters 🙂 Not fully tested, but it’s best I’ve got so far.
Thank you! The only filter I personally needed to block out image preview was this one:
twitter.com##.stream-item:not(.open) .tweet .js-old-media-container
It works perfectly! The image is still visible when I click on the tweet but the automatic expansion Twitter enforces is gone.
Thank you thank you thank you! 😀
Since a few days
twitter.com##.stream-item:not(.open) .tweet .media
doesn’t hide the preview anymore.
I tried any combination of other filters. They either hide both preview and image in my timeline, or neither one of them. I can’t find a combination of filters that do hide the preview but do not hide the image when you click on the tweet.
Neonie’s 8 filters don’t show any image anymore in Firefox 41.0.2.
Any suggestions?
Analysis:
Out of those 8, Adblock shows no hits for these 4:
twitter.com###xdm_default8923_provider
twitter.com##.card2-attribution
twitter.com##.util-text-small
twitter.com##div.is-preview
So they seem useless anyway.
Both these two:
twitter.com##.expanded-content
twitter.com##.js-tweet-details-dropdown
hide retweet and favorite score. Which I don’t need to be hidden, so these filters can be removed too.
That leaves these two:
##div.js-old-media-container
##div.OldMedia-container
Whether I use one of them or both, the result in all cases is that all images are hidden, both the preview and the picture that is shown after clicking the tweet.
Note the format of the filters I listed… the not(.open) is important to preserve click to see images/media…
Looks like Twitter changed their containers again today. This is what worked for me:
twitter.com##.stream-item:not(.open) .tweet .js-adaptive-media-container