Twitter Prime

Free yourself from X ads and analytics.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
itsnotlupus
1日のインストール数
0
累計インストール数
646
評価
2 0 2
バージョン
1.5
作成日
2023/08/27
更新日
2024/05/18
大きさ
7.03KB
ライセンス
MIT
対象サイト

Welcome to Twitter Prime!

This script removes ads (previous known as "promoted tweets") at the network level, before the Twitter app ever sees them so they never have a chance to be shown in the page.
It also aims to remove any and all "monetization" hooks in the app, including "super follows", "subscriptions", "grok", etc.
Because it doesn't attempt to parse Twitter's page markup to find ads or upsells, it is likely to be more resilient than other ad-removing strategies.

It also blocks client-side analytics and user tracking.
That includes:

  • Google analytics
  • Twitter's internal analytics
  • analytics through Twitter's t.co/ redirects, which are replaced with the actual URL.

Be warned, some internal analytics calls may still fire from Twitter's service worker, which bypass this script.
It is recommended to use a reputable ad blocker like uBlock Origin to catch those.

This script deprecates and replaces the following scripts:
https://greasyfork.org/en/scripts/464520-block-promoted-tweets-and-stuff
https://greasyfork.org/en/scripts/471226-block-promoted-tweets-plaid-edition
https://greasyfork.org/en/scripts/473435-unshortcut-links-on-twitter-com

Note that this script doesn't currently block advertiser accounts automatically.

For the adventurous among us, there's a CONFIG object near the top of the script that can be edited to add a couple of items in the side bar.
One of those items is the "Community Notes" tab and gives you a glimpse into the notes-making process.
The other is a "Spaces" tab that allows you to search for live and upcoming voice chats.


For the discerning Twitter Prime subscriber, we also recommend our Custom Logo Picker for Twitter script.
It features a selection of birds and various questionable logos to choose from, along with hand-picked coordinated branding for terms like "tweets"/"retweets"/etc.