Twitter Prime

Free yourself from X ads and analytics.

Fra 27.08.2023. Se den seneste versjonen.

Forfatter
itsnotlupus
Vurderinger
0 0 0
Versjon
1.0
Lagd
27.08.2023
Oppdatert
27.08.2023
Size
4,4 kB
Lisens
MIT
Gjelder

Welcome to Twitter Prime!

This script blocks ads (previous known as "promoted tweets") at the network level, before they ever have a chance to be shown in the page.
Because it doesn't attempt to find ads or marketing upsells by making sense of Twitter's page markup, 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 bypasses 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.