twitter.com

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
Locked
Inyaheyukan
Site Member
Site Member
Posts: 16
Joined: Sun Mar 29, 2015 10:10 pm

twitter.com

Post by Inyaheyukan »

Cookie consent banner on the bottom of the page isn't blocked.
User avatar
fanboy
EasyList Author
EasyList Author
Posts: 12240
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

This seems to be current in Easylist Cookie (just checked)

twitter.com##.r-13dxkaz.css-1dbjc4n
Inyaheyukan
Site Member
Site Member
Posts: 16
Joined: Sun Mar 29, 2015 10:10 pm

Post by Inyaheyukan »

With the easylist cookie activated, the banner appears!
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

bepvte
New Member
New Member
Posts: 7
Joined: Tue Apr 23, 2019 2:41 pm

Post by bepvte »

Code: Select all

https://twitter.com/explore
Annoyance banner on the bottom that says:

Don’t miss what’s happening
People on Twitter are the first to know.

suggested:

Code: Select all

##.r-1upvrn0
adhater
Senior Member
Senior Member
Posts: 60
Joined: Fri Aug 28, 2009 5:29 pm

Post by adhater »

How can I block the "What's Happening" sidebar on the right in twitter when using a desktop browser? I don't want to see it. I'm using uBlock Origin. When I try to pick an element that blocks the entire sidebar it looks like

Code: Select all

twitter.com##.r-1udh08x.r-ku1wi2.r-rs99b7.r-1phboty.r-1ylenci.r-k0dy70.r-1ysxnx4.css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n
which makes me think that on some other day, it will reappear.
steve_M
Senior Member
Senior Member
Posts: 57
Joined: Sat Sep 17, 2016 5:29 am

Post by steve_M »

https://imgur.com/a/xo85x27

How does one block/remove the "You might like", "What's happening" and the bottom "Log in/Sign up" on Twitter for ALL Twitter sites?

I tried using uBlock (right click) and I got something like below, but that's ONLY good for that one Twitter site and when I visit another Twitter site, they all come back again.

Code: Select all

twitter.com##.r-1udh08x.r-1bro5k0.r-ku1wi2.r-rs99b7.r-1phboty.r-t23y2h.r-9cbz99.r-1u4rsef.css-1dbjc4n
twitter.com##div.r-1udh08x.r-ku1wi2.r-rs99b7.r-1phboty.r-t23y2h.r-9cbz99.r-1u4rsef.css-1dbjc4n:nth-of-type(4)
twitter.com##.r-13qz1uu.r-1ye8kvj.r-1jgb5lz.css-1dbjc4n > div.css-1dbjc4n:nth-of-type(2) > .css-1dbjc4n > .css-1dbjc4n > div > div > div:nth-of-type(1)
https://imgur.com/a/xo85x27

Thanks.
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

test in uBO

Code: Select all

twitter.com##[data-testid="signup"]:upward(5)
twitter.com##:xpath(//*[contains(text(),"You might like")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"Trends for you")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"s happening")]):upward(5)
steve_M
Senior Member
Senior Member
Posts: 57
Joined: Sat Sep 17, 2016 5:29 am

Post by steve_M »

intense wrote: Sun Aug 30, 2020 3:21 pm test in uBO

Code: Select all

twitter.com##[data-testid="signup"]:upward(5)
twitter.com##:xpath(//*[contains(text(),"You might like")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"Trends for you")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"s happening")]):upward(5)
Working :D , thanks buddy!
carpenter
Site Member
Site Member
Posts: 47
Joined: Tue Feb 11, 2020 3:20 am

Post by carpenter »

on twitter mobile there's a use the app banner:

Image
Yuki
Contributor
Contributor
Posts: 206
Joined: Sun Dec 15, 2019 7:34 am

Post by Yuki »

Test

Code: Select all

mobile.twitter.com##span:has-text(better on the app):upward(5)
.

@intense the following rule in uBlock Annoyances needs to be updated:

Code: Select all

mobile.twitter.com##span:has-text(/get the most/i):xpath(../../../../../..)
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

the following rule in uBlock Annoyances needs to be updated
meaning ? provide the filter
Yuki
Contributor
Contributor
Posts: 206
Joined: Sun Dec 15, 2019 7:34 am

Post by Yuki »

intense wrote: Fri Sep 04, 2020 2:25 pm meaning ? provide the filter
Replace

Code: Select all

mobile.twitter.com##span:has-text(/get the most/i):xpath(../../../../../..)
with

Code: Select all

mobile.twitter.com##span:has-text(better on the app):upward(5)
or whatever suitable texts in it - but actually this approach requires localization like other Twitter rules, in my case it's

Code: Select all

mobile.twitter.com##span:has-text(/better on the app|Twitterアプリをおすすめ/):upward(5)
@krystian3w How do you think?
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

User avatar
krystian3w
Site Member
Site Member
Posts: 24
Joined: Sun Mar 25, 2018 9:03 pm

Post by krystian3w »

https://github.com/DandelionSprout/adfi ... -687695174

mobile.twitter.com###layers:not(:has([role="link"])):not(:has([role="menuitem"])):not(:has([data-testid^="confirmationSheet"]))
FTP servers to download Firefox & Opera
Mike Rosoft
Site Member
Site Member
Posts: 26
Joined: Thu Mar 24, 2011 6:37 pm

Post by Mike Rosoft »

Twitter shows "promoted tweets" (adverts) - see

Code: Select all

https://twitter.com/hashtag/EquestrianMovies
These can be blocked using the following filter:

Code: Select all

twitter.com##DIV[data-testid="placementTracking"]
User avatar
fanboy
EasyList Author
EasyList Author
Posts: 12240
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

Screenshot? I'm not seeing any issues @Mike Rosoft
adhater
Senior Member
Senior Member
Posts: 60
Joined: Fri Aug 28, 2009 5:29 pm

Post by adhater »

intense wrote: Sun Aug 30, 2020 3:21 pm test in uBO

Code: Select all

twitter.com##[data-testid="signup"]:upward(5)
twitter.com##:xpath(//*[contains(text(),"You might like")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"Trends for you")]):upward(5)
twitter.com##:xpath(//*[contains(text(),"s happening")]):upward(5)
thanks, intense! :banana:

I'm using your helpful code, too.
But when I'm not logged in... when I'm on the log-in page, all I see is a blank white page. I have to temporarily disable uBo to enter my username and password. Is there a tweak to the code that could remedy this tiny issue. :D
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

just remove the last one
adhater
Senior Member
Senior Member
Posts: 60
Joined: Fri Aug 28, 2009 5:29 pm

Post by adhater »

intense wrote: Tue Sep 15, 2020 6:00 am just remove the last one
But when I remove twitter.com##:xpath(//*[contains(text(),"s happening")]):upward(5), I see the trending (What's happening) sidebar. I don't want to see that. :-(
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

the first filter
twitter.com##[data-testid="signup"]:upward(5)

is already removing happening stuff on my end
User avatar
fanboy
EasyList Author
EasyList Author
Posts: 12240
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

This filter caused issues, some embedded images didnt show
Locked