Twitter changed code for blocking timeline photos and videos

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
cool80z
Posts: 7
Joined: Sat Mar 21, 2015 1:58 am

Twitter changed code for blocking timeline photos and videos

Post by cool80z »

Hello as of today Adblock plus stopped blocking image preview on Firefox for twitter.com. I have been searching all over the web for any new filters but no luck. I hope someone has new ones or knows how to make them.
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Twitter changed code for blocking timeline photos and videos

Post by smed79 »

Hello,

try

Code: Select all

twitter.com##.SummaryCard-image
twitter.com##.AdaptiveMedia-singlePhoto
If does not work, provide an example and describe what do you want to hide.
cool80z
Posts: 7
Joined: Sat Mar 21, 2015 1:58 am

Re: Twitter changed code for blocking timeline photos and videos

Post by cool80z »

partially works. Hides pictures but you can not click on the tweet like previously to see the picture and does not work on videos or multiple photos in one tweet. twitter.com##.js-stream-tweet:not(.opened-tweet) .js-adaptive-media-container img this used to work but stopped yesterday.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Twitter changed code for blocking timeline photos and videos

Post by mapx »

try

Code: Select all

twitter.com##.tweet.js-stream-tweet .AdaptiveMediaOuterContainer
rkghadai
Posts: 1
Joined: Mon Jun 19, 2017 1:16 pm

Re: Twitter changed code for blocking timeline photos and videos

Post by rkghadai »

cool80z wrote:partially works. Hides pictures but you can not click on the tweet like previously to see the picture and does not work on videos or multiple photos in one tweet. twitter.com##.js-stream-tweet:not(.opened-tweet) .js-adaptive-media-container img this used to work but stopped yesterday.
This worked for sometime some years back:
twitter.com##.js-stream-tweet:not(.opened-tweet) .js-adaptive-media-container img

This worked for sometime in last 3-4 months:
twitter.com##.js-stream-tweet:not(.opened-tweet) .js-adaptive-photo img

After latest update of twitter on June2017, this one works:
twitter.com##.js-stream-tweet:not(.opened-tweet) div[class^="AdaptiveMedia-"][class$="Photo"]
Post Reply