Last active
June 11, 2024 15:41
-
-
Save sebm253/0531ff9ebabe59a81a0e3947e7016a01 to your computer and use it in GitHub Desktop.
Twitter annoyances (uBlock Origin). Best used along with Minimal Twitter: https://github.com/sebm253/minimal-minimal-twitter
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
[uBlock Origin] | |
! Title: Twitter annoyances | |
! Homepage: https://gist.github.com/sebm253/0531ff9ebabe59a81a0e3947e7016a01 | |
! Expires: 3 days | |
! twitter blue button | |
twitter.com,x.com##a[href^="/i/premium_sign_up"] | |
! grok | |
twitter.com,x.com##a[href="/i/grok"] | |
! subs | |
twitter.com,x.com##div[data-testid$="-subscribe"]:upward(1) | |
twitter.com,x.com##div[role="button"][style*="border-color: rgb(201, 54, 204);"] | |
twitter.com,x.com##div:has(>a[href$="/superfollows"]) | |
! unread tweets in communities label | |
twitter.com,x.com##a[href$="/communities"] div[aria-label] | |
! align sidebar to left (minimal twitter) | |
twitter.com,x.com##header[role="banner"] > div:style(margin-left: 0px !important;) | |
! recommendations sidebar | |
||x.com/i/api/1.1/users/recommendations.json | |
! PASTE THESE RULES TO "My filters": | |
!twitter.com,x.com##+js(trusted-replace-xhr-response, /{"entryId":"who-to-follow-.*"sourceData".*?}}}}}\,/, , ) | |
!twitter.com,x.com##+js(trusted-replace-xhr-response, /{"entryId":"promoted-tweet-.*?}}}}}\,/, , ) | |
!twitter.com,x.com##+js(trusted-replace-xhr-response, /{"entryId":"conversationthread-\d+-[a-z0-9]+".+?}}}}}\,/, , ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment