Last active
October 17, 2022 03:27
-
-
Save epetousis/d3c2d6fab244412c214d0a27d75e9f1c to your computer and use it in GitHub Desktop.
No More "Engagement" - a filter to block social media algorithmic recommendations - the "anti-endless scrolling." Pairs well with chronological timeline ordering.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Title: No More "Engagement" | |
! Description: An annoyances filter that blocks sponsored social media posts, and suggestions for more content to view. | |
! Facebook Sponsors and "Suggested for You" | |
facebook.com##div[data-pagelet*="FeedUnit"]:has(span[class] + [role*="n"] > span > span + span) | |
facebook.com##div[data-pagelet*="FeedUnit"]:has(span[class]:first-child + [role*="n"] > span:only-child > span:first-child + span:last-child) | |
facebook.com##div[data-pagelet*="FeedUnit"]:has(div:not([class]):not([id]):empty ~ div:not([class]):not([id]) > div:not([class]):not([id]) > div:not([class]):not([id]):first-child:has(span[dir="auto"]:only-child) + div:not([class]):not([id]) + div:not([class]):not([id]) + div:not([class]):not([id]):last-child) | |
! Twitter "Topics to follow" | |
twitter.com##[data-testid="sidebarColumn"] [href="/i/topics/picker/home"]:upward(section) | |
twitter.com##[aria-label="Timeline: Your Home Timeline"]>div>div[style^="position: absolute;"],[aria-label$="’s Tweets"]>div>div[style^="position: absolute;"]:not(:has(>div>div>article)) | |
! Twitter - taken from robonxt's CleanYourTwitter | |
! removes "promoted tweets (ads)". thanks to reddit. | |
twitter.com##[data-testid="tweet"]:has-text(/Promoted|Gesponsert|Реклама/) | |
!twitter.com##[data-focusable="true"]:has-text(/Promoted|Gesponsert|Реклама/) | |
!twitter.com##[data-focusable="false"]:has-text(/Promoted|Gesponsert|Реклама/) | |
! removes the "who to follow" section. thanks to reddit. | |
twitter.com##div[aria-label$="Tweets"] [data-testid="UserCell"] | |
twitter.com##div[aria-label$="Your Home Timeline"] [data-testid="UserCell"] | |
twitter.com##div[aria-label$="Retweeted"] [data-testid="UserCell"] | |
twitter.com##div[aria-label^="Timeline"] div [role="heading"]:has-text(Who to follow) | |
twitter.com##div[aria-label^="Timeline"] [href^="/i/related_users"] | |
twitter.com##div[aria-label^="Timeline"] > div > div :has-text(Who to follow) | |
twitter.com##div[data-testid="sidebarColumn"] aside[role="complementary"][aria-label="Who to follow"] div:nth-ancestor(2) | |
twitter.com##div[aria-label="Timeline: Trending now"] | |
twitter.com##aside[aria-label="Who to follow"] | |
! removes "suggestions". thanks to krisu5 (https://github.com/krisu5/) | |
twitter.com##body:has(div[aria-label^="Timeline: Search"]) .r-1adg3ll:has(a[href^="/search?q="][href$="&src=related_query_click"]) | |
twitter.com##body:not(:has(div[aria-label="Timeline: Explore"])) .r-qklmqi:has(span.r-1qd0xha:has-text(/^See more about this Topic/i)) | |
!twitter.com##div[data-testid="primaryColumn"] .css-1dbjc4n:has(div[data-testid="tweet"]) .r-qklmqi:has(div[data-testid="UserCell"]) | |
!twitter.com##div[data-testid="sidebarColumn"] .r-t23y2h:has(div[aria-label="Timeline: Trending now"]) | |
!twitter.com##div[aria-label^="Timeline:"]:not([aria-label*="List"]) div[style^="position: absolute;"]:not(:has(article)):has(a[href^="/i/lists/"]) | |
twitter.com##div[aria-label^="Timeline:"]:not([aria-label$="Topics"]):not([aria-label$="Explore"]) .r-1adg3ll:has(a[href^="/i/"]:has-text(/^More Topics|Show more/i)):has(:not(span:has-text(/^Show more replies/i))) | |
twitter.com##div[aria-label^="Timeline:"]:not([aria-label$="Topics"]) .r-qklmqi:has([aria-labelledby*="topic-not-interested-button"]) | |
twitter.com##div[aria-label="Timeline: Explore"] div[data-testid="UserCell"]:upward(2) | |
!twitter.com##.r-1adg3ll:has(article[role="article"]:has-text(Promoted)) | |
twitter.com##.r-1adg3ll:has(a[href="/i/timeline"]):has(div:matches-css(min-width: 70px)) | |
twitter.com##.r-1adg3ll:has(div[aria-label="Timeline: Carousel"]) | |
twitter.com##.r-qklmqi:has(h2:has(span:has-text(/^People|More replies/i))) | |
twitter.com##div[aria-label$="trending now" i] | |
!twitter.com##.r-1adg3ll:has(h2:has-text(/^Topics to follow/i)) | |
!use the below one to fix it temp? | |
twitter.com##.r-1ysxnx4.r-k0dy70.r-1867qdf.r-1phboty.r-rs99b7.r-1ifxtd0.r-1udh08x | |
!twitter.com##.r-1adg3ll:has(div[aria-label="Timeline: Carousel"]) | |
twitter.com##div[aria-label^="Timeline:"]:not([aria-label$="Topics"]):not([aria-label$="Explore"]) .r-1adg3ll:has(a[href^="/i/"]:has-text(/^More Topics/i)) | |
! removes "more tweets" (often found in a new thread). found by robonxt. | |
twitter.com##.r-1adg3ll:has(h2:has-text(/^More Tweets/i)) | |
! Remove "You might like" tweets | |
twitter.com##.r-13qz1uu.r-1ye8kvj.r-1jgb5lz.css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > div > div:has(span:has-text(/^You might like/i)) | |
! https://twitter.com/gorhill/status/1410267373815357456 | |
twitter.com##[data-testid="primaryColumn"] article [aria-label="set as not interested" i]:upward(div[style*="translateY"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment