Greasy Fork is available in English.

Twitter Prime

Free yourself from X ads and analytics.

Maker
itsnotlupus
Dagelijks aantal installaties
0
Totaal aantal installaties
575
Beoordelingen
2 0 2
Versie
1.5
Gemaakt op
27-08-2023
Bijgewerkt op
18-05-2024
Licentie
MIT
Wordt toegepast op

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.