Skip to content

Instantly share code, notes, and snippets.

@mary-ext
Last active August 9, 2024 14:55
Show Gist options
  • Save mary-ext/b22b87e4fbf3fa75bef4c69fae7e64df to your computer and use it in GitHub Desktop.
Save mary-ext/b22b87e4fbf3fa75bef4c69fae7e64df to your computer and use it in GitHub Desktop.
make twitter good ublock filter
x.com##.css-175oi2r:has(> .css-175oi2r > [aria-label="Subscribe to Premium"])
x.com##.css-175oi2r:has(> .css-175oi2r > [aria-label="Subscribe to Premium to write your own longer posts"])
x.com##.css-175oi2r.r-1ifxtd0:has(> .css-175oi2r > .css-175oi2r > [aria-label="Timeline: Trending now"])
x.com##.r-1wvb978:style(font-feature-settings: initial !important)
x.com##[data-testid="AppTabBar_Home_Link"] ~ :is(a[href="/i/grok"], a[href="/i/premium_sign_up"], a[href="/i/verified-orgs-signup"])
x.com##div[role=dialog] > .css-175oi2r .css-175oi2r:has(> :is(a[href="/i/premium_sign_up"], a[href="/i/verified-orgs-signup"], a[href="/settings/monetization"], a[href^="https://ads.x.com/"], a[href="/jobs"]))
x.com##[data-testid="tweet"] .css-175oi2r:has(> a.css-175oi2r[href$="/analytics"])
x.com##[data-testid="UserName"] > div:has(a[href="/i/premium_sign_up"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment