Skip to content

Instantly share code, notes, and snippets.

@ts-uc
Last active May 6, 2025 00:27
Show Gist options
  • Save ts-uc/e0f9f6195c31421a3f7c9e57294c8e0a to your computer and use it in GitHub Desktop.
Save ts-uc/e0f9f6195c31421a3f7c9e57294c8e0a to your computer and use it in GitHub Desktop.
uBlock Origin Twitter (X) Filter
! Title: Twitter (X) Filter by ts-uc
! リンクを非表示にする
! Grok
x.com##a[href="/i/grok"]
! コミュニティ
x.com##a[href$="/communities"]
! プレミアム
x.com##a[href^="/i/premium_sign_up"]
! 認証済み組織
x.com##a[href="/i/verified-orgs-signup"]
! 収益化
x.com##a[href="/i/monetization"]
! 広告
x.com##a[href="https://ads.x.com/?ref=gl-tw-tw-twitter-ads-rweb"]
! 求人
x.com##a[href="/jobs"]
! ツイートのエンゲージメント内のリツイート
!x.com##a[href*="/status/"][href$="/retweets"]
! ツイートのエンゲージメント内のふぁぼ
x.com##a[href*="/status/"][href$="/likes"]
! 特定項目を非表示にする (全体UI)
! 通知件数
x.com##a[href^="/notifications"] div[aria-label$="未読項目"]
! 保存した検索
x.com##[data-testid="typeaheadSavedSearchesHeader"]
x.com##[data-testid="typeaheadSavedSearchesContainer"]
! 特定項目を非表示にする (通知画面)
! リツイート通知
! x.com##[data-testid="cellInnerDiv"]:has(.r-4qtqp9.r-yyyyoo.r-dnmrzs.r-bnwqim.r-lrvibr.r-m6rgpd.r-o6sn0f.r-yucp9h)
! ふぁぼ通知
x.com##[data-testid="cellInnerDiv"]:has(.r-4qtqp9.r-yyyyoo.r-dnmrzs.r-bnwqim.r-lrvibr.r-m6rgpd.r-vkub15.r-yucp9h)
! 特定項目を非表示にする (ユーザー別画面)
! プロフィールの要約ボタン
x.com##button[aria-label="プロフィールの要約"]
x.com##button:has-text(プロフィールの要約)
! まだ認証されていませんバーナー
x.com##.r-1oqcu8e.r-dnmrzs.css-175oi2r
! ハイライト (ログイン中のユーザーの画面のみ)
x.com##div[data-testid="primaryColumn"]:has([data-testid="editProfileButton"]) div[role="presentation"]:has(a[href$="/highlights"])
! 記事 (ログイン中のユーザーの画面のみ)
x.com##div[data-testid="primaryColumn"]:has([data-testid="editProfileButton"]) div[role="presentation"]:has(a[href$="/articles"])
! 特定項目を非表示にする (ツイート・ツイート別画面)
! リプライ数
x.com##[data-testid="reply"] span[data-testid="app-text-transition-container"]
! リツイート数
x.com##[data-testid="retweet"] span[data-testid="app-text-transition-container"]
x.com##[data-testid="unretweet"] span[data-testid="app-text-transition-container"]
! ふぁぼ数
x.com##[data-testid="like"] span[data-testid="app-text-transition-container"]
x.com##[data-testid="unlike"] span[data-testid="app-text-transition-container"]
! ブックマーク数
x.com##[data-testid="bookmark"] span[data-testid="app-text-transition-container"]
x.com##[data-testid="removeBookmark"] span[data-testid="app-text-transition-container"]
! 閲覧数
x.com##article[tabindex="0"] div[role="group"] > div:has(a[aria-label$="ポストアナリティクスを表示"])
x.com##[aria-label="タイムライン: 会話"] article[tabindex="-1"] div[aria-hidden="true"]:nth-child(2)
x.com##[aria-label="タイムライン: 会話"] article[tabindex="-1"] div[aria-hidden="true"]:nth-child(2) + div:last-child
! 編集
x.com##[data-testid="editWithPremium"]
! プロフィールのハイライト
x.com##[data-testid="highlightUpsell"]
! ポストのアナリティクス
x.com##[data-testid="analytics"]
! アナリティクスプレビュー
x.com##[data-testid="analytics-preview"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment