yokoffing
2025-03-10 14:14:07 -04:00
committed by GitHub
parent 3b0cfbea50
commit 62793d3a11

View File

@@ -3,7 +3,7 @@
! Description: Hide annoyances and extraneous page elements ("related articles", "read more", etc.) not covered by other lists
! Homepage: https://github.com/yokoffing/filterlists
! Expires: 4 days (update frequency)
! Version: 10 January 2025
! Version: 10 March 2025
! Syntax: AdBlock
linuxsecurity.com##.ins.inside-articles.authors-posts-wrap1, .acym_module_form, .authors-posts-wrapq, .sppb-column-addons
@@ -987,64 +987,20 @@ reddit.com,reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad.onion##a[hre
!#endif
! TWITTER
! [July 2024] from https://www.reddit.com/r/uBlockOrigin/wiki/solutions/#wiki_twitter
! [March 2025] from https://www.reddit.com/r/uBlockOrigin/wiki/solutions/#wiki_twitter
! Follow/Recommended Topic | "[Name of Topic] See more"
twitter.com,x.com##article [aria-label^="Follow Topic"], article [aria-label^="Recommended Topic"]:upward(article)
! You might like (Suggested tweet)
twitter.com,x.com##article [d$="2.66 6 1H5z"]:upward(article)
! My Timeline - no inserted sections (Who to follow/Topics to follow, etc.)
twitter.com,x.com##[aria-label="Timeline: Your Home Timeline"] div[style^="transform: translateY"][style*="position: absolute;"]:not(:first-child:has-text(/^Show \d\d? Tweets?$/)):not(:has(article, [href^="/i/status/"], [role="progressbar"]))
! Other Timelines - no inserted sections (Who to follow/Topics to follow, etc.)
twitter.com,x.com##[aria-label$="s posts"] div[style^="transform: translateY"][style*="position: absolute;"]:not(:has(article, [href^="/i/status/"], [role="progressbar"]))
! Twitter/X - Clean Timelines - See Only Tweets/Posts, No Inserts
twitter.com,x.com##:is([aria-label="Timeline: Your Home Timeline"],[aria-label^="Timeline:"][aria-label$="posts"]) div[style^="transform: translateY"][style*="position: absolute;"]:not(:has(article, [href^="/i/status/"], [role="progressbar"],>div>button))
! Analytics/Views button on tweets
twitter.com,x.com##article [role=group] [href$="/analytics"]:upward(div:not(:only-child))
! Views - the new placement in conversation view
twitter.com,x.com##[aria-label="Timeline: Conversation"] [href*="/status/"] ~ span
! [User] follows
twitter.com,x.com##article div>svg>g>[d^="M17.863 13.44c1.477"]:upward(article)
! [User] liked
twitter.com,x.com##article>div:first-child>div:first-child>div:first-child>div:first-child [d$="4.17-.514 6.67z"]:upward(article)
! [User] Retweeted
twitter.com,x.com##:is([aria-label="Timeline: Your Home Timeline"], [aria-label$="s posts"]) article>div:first-child>div:first-child>div:first-child>div:first-child [d^="M4.75 3.79l4.603"]:upward(article):not(:has([data-testid="socialContext"]:has-text(/^You/)))
! [User] recieved a reply
twitter.com,x.com##article [d$="183-3.51-8.183-8.01z"]:upward([style*="position: absolute"]):has([data-testid="socialContext"]:has-text(/reply$/))
twitter.com,x.com##article [d$="183-3.51-8.183-8.01z"]:upward([style*="position: absolute"]):has([data-testid="socialContext"]:has-text(/reply$/))+div
! [User] recieved replies
twitter.com,x.com##article [d$="183-3.51-8.183-8.01z"]:upward([style*="position: absolute"]):has([data-testid="socialContext"]:has-text(/replies$/))
! https://github.com/yokoffing/filterlists/issues/151
! twitter.com,x.com##article>div:first-child:not(:last-child):upward([style*="position: absolute"])
! [User] replied
twitter.com,x.com##article [d$="183-3.51-8.183-8.01z"]:upward([style*="position: absolute"]):has([data-testid="socialContext"]:has-text(/replied$/))
twitter.com,x.com##article [d$="183-3.51-8.183-8.01z"]:upward([style*="position: absolute"]):has([data-testid="socialContext"]:has-text(/replied$/))+div
! "Official" label on posts and profiles
twitter.com,x.com##[src$="/verified_stroke_1.png"]:upward(div:not(:empty)+div:last-of-type)
! Like and Retweet counts
! Remove ` [data-testid="app-text-transition-container"]` to hide entire buttons
! https://github.com/yokoffing/filterlists/issues/151
! twitter.com,x.com##[data-testid="retweet"] [data-testid="app-text-transition-container"], [data-testid="like"] [data-testid="app-text-transition-container"]
! Discover more / More Tweets - Conversation view suggestions
twitter.com,x.com##[aria-label="Timeline: Conversation"] :is([data-testid="cellInnerDiv"]:has(h2:not(:only-child)), [data-testid="cellInnerDiv"]:has(h2:not(:only-child))~div)
! Hidden posts - hide "Show additional replies" or "This tweet is from an account you've blocked/muted"
! https://github.com/yokoffing/filterlists/issues/151
! twitter.com,x.com##[aria-label="Timeline: Conversation"] [data-testid="cellInnerDiv"] article [role="button"]:not([aria-label]):upward([data-testid="cellInnerDiv"])
! Get verified
! Twitter/X - Get verified
twitter.com,x.com##[aria-label="Get Verified"]
! Live spaces
! Twitter/X - Live spaces
twitter.com,x.com##[data-testid="sidebarColumn"] [data-testid="placementTracking"]:last-child:upward(1)
! Sidebar - Topics to follow
! Twitter/X - Sidebar - Topics to follow
twitter.com,x.com##[data-testid="sidebarColumn"] [href="/i/topics/picker/home"]:upward(section)
! Sidebar - What's happening/Trending now/Trends for you
! Twitter/X - Sidebar - What's happening/Trending now/Trends for you
twitter.com,x.com##[aria-label$="trending now" i]
! Sidebar - Who to follow/You might like
! Twitter/X - Sidebar - Who to follow/You might like
twitter.com,x.com##[aria-label="who to follow" i]:upward(1)
! Login dialog
@@ -1054,38 +1010,6 @@ twitter.com,x.com##html:style(overflow: auto !important;)
! App suggestion overlay
twitter.com,x.com###layers>div:last-of-type:has-text(Switch to the app)
! Source: https://github.com/DandelionSprout/adfilt/commit/1efdbabb361af4dd05a24cf766d1dafc723ab02f
!! Removes a "See What's Happening" prompt at the bottom of some tweet chains
twitter.com,x.com#?#div[data-testid=primaryColumn] div:has(> div > div > a[href="/login"])
!! Removes a login prompt when visiting "/intent/follow"-type links in mobile environments
! https://twitter.com/intent/follow?screen_name=mesitsu (13/04/2020)
x.com,mobile.twitter.com,mobile.twitter3e4tixl4xyajtrzo62zg5vztmjuricljdp2c5kshju4avyoid.onion#?#a[href="/i/flow/signup"][dir=auto][role=link][data-focusable=true]:upward(7)
!#if env_mobile
twitter.com,x.com#?#a[href="/i/flow/signup"][dir=auto][role=link][data-focusable=true]:upward(7)
!#endif
!#if false
! Removes the bottom login sticky banner about logging in, in the April 2020-ish redesign
twitter.com,x.com#?##layers > div[class*=" "]:first-of-type:has(a[href="/i/flow/signup"])
! https://twitter.com/hideo_kojima_en/status/319595772981166080
twitter.com,x.com###layers > div[class] > div[class] > div[class] > div[class]:has(> div[class] > div[class] > div[class] > div[class] > div[class] > a[href="/login"])
!#endif
!#if !env_mobile
! Fullpage uncloseable overlay on some pages
twitter.com,x.com#?#div[role=group]:has(div[data-testid*=apple_sign_in]:only-of-type)
!#endif
! Removes the "Aren't you on Twitter??" prompt in the upper right of user timelines
! https://twitter.com/nasuno_Posi
twitter.com,x.com##.js-signup-call-out
! Twitter Mobile
!! Aims to remove the login overlay prompt when browsing down an account's timeline
mobile.twitter.com,x.com##.rn-13w96dm
mobile.twitter.com,x.com##.rn-1kihuf0.rn-1awozwy
!#if !adguard
! https://mobile.twitter.com/nasuno_Posi
!! Removes the "Are you new on Twitter?" banner in the upper right of user timelines (Screen area has to be ≥~1400px wide)
mobile.twitter.com,x.com##div[data-testid=sidebarColumn] section[aria-label][role=region]
!#endif
! BING
! Hide rebate
bing.com##.rebateGlobalDecoration