Twitter Direct

Remove t.co tracking links from Twitter

These are versions of this script where the code was updated. Show all versions.

  • v3.1.1 26.05.2024.

    Twitter Direct - cleanup

  • v3.1.0 17.05.2024.

    handle Twitter -> X domain-name change

  • v3.0.1 10.05.2024.

    Twitter Direct - cleanup

  • v3.0.0 05.05.2024.

    Twitter Direct - update to reflect latest site changes

    • handle already-expanded URLs
    • extract the replacer to a module for standalone/offline use
    • drop support for TweetDeck as it's no longer (freely) available
  • v2.3.2 12.04.2023. Twitter Direct - cleanup
  • v2.3.1 08.04.2023. Twitter Direct - cleanup
  • v2.3.0 13.12.2022. Twitter Direct - add support for Community Notes
  • v2.2.0 26.06.2022. Imported from URL
  • v2.0.0 26.06.2022. Imported from URL
  • v2.1.6 01.01.2022. Twitter Direct: doctweak
  • v2.1.5 13.11.2021. Twitter Direct: restore embedded media URLs
  • v2.1.4 13.11.2021. Twitter Direct - skip large document with no URLs
  • v2.1.3 23.10.2021. Twitter Direct: doctweak
  • v2.1.2 07.06.2021. Twitter Direct - add a missing path
  • v2.1.1 19.05.2021. Twitter Direct: fix an omitted path check for $.url before $.legacy to catch legacy.url nodes
  • v2.1.0 16.05.2021. Twitter Direct: performance improvements the v2 replacement engine is now no slower than v1 and up to 15% faster
  • v2.0.1 15.05.2021. Twitter Direct: cleanup
  • v2.0.0 15.05.2021. Twitter Direct: simplify/improve the replacement engine use a much simpler, generic URL replacer rather than maintaining custom queries for each document type
  • v1.8.0 13.05.2021. Twitter Direct: add new endpoint: TweetDetail update paths for: - UserMedia - UserTweets - UserTweetsAndReplies
  • v1.7.3 08.05.2021. Twitter Direct: cleanup
  • v1.7.2 03.05.2021. Twitter Direct: cleanup
  • v1.7.1 02.05.2021. Twitter Direct - add new endpoints: - Bookmarks - Likes - ListLatestTweetsTimeline - UserByScreenNameWithoutResults - UserTweetsAndReplies - add missing UserTweets paths
  • v1.7.0 01.05.2021. Twitter Direct - add support for the new UserTweets endpoint - persist the URL-expansion cache across queries in the same document - bump dependencies
  • v1.6.0 19.04.2021. Twitter Direct: add missing timeline rule
  • v1.5.0 10.04.2021. Twitter Direct: add rule for "Who to follow" links
  • v1.4.3 28.03.2021. Twitter Direct: cosmetics
  • v1.4.2 03.03.2021. Twitter Direct: fix mobile.twitter.com Add mobile.twitter.com as an API endpoint
  • v1.4.1 09.02.2021. Twitter Direct: bump dependencies
  • v1.4.0 21.01.2021. Twitter Direct: add rules for the "Liked by" and "Retweeted By" lists
  • v1.3.2 19.01.2021. Twitter Direct: update dependencies
  • v1.3.1 24.11.2020. Twitter Direct: - fix the video-playback issue and remove the sticking plaster (the event parameter was missing when delegating to the original listener) - update gm-compat: 0.1.2 -> 1.0.0
  • v1.3.0 13.11.2020. Twitter Direct: fix video playback + add missing case (followers-you-follow)
  • v1.2.0 13.10.2020. Twitter Direct: update to reflect the latest site changes most data (JSON) responses are now served via twitter.com/i/api rather than api.twitter.com, e.g.: before: https://api.twitter.com/2/notifications/all.json after: https://twitter.com/i/api/2/notifications/all.json
  • v1.1.1 10.10.2020. Twitter Direct: doctweak
  • v1.1.0 09.10.2020. Twitter Direct: add rules for list members/followers
  • v1.0.1 03.10.2020. Twitter Direct: cleanup
  • v1.0.0 02.10.2020. Twitter Direct: refactor filter queries with a URL router rather than trying every query against every URL
  • v0.8.0 01.10.2020. Twitter Direct: add missing hovercard cases
  • v0.7.2 01.10.2020. Twitter Direct: fix card URL
  • v0.7.1 01.10.2020. Twitter Direct: cleanup
  • v0.7.0 01.10.2020. Twitter Direct: add missing card case
  • v0.6.1 19.09.2020. Twitter Direct: speed up path parsing + fix missing source-map error
  • v0.6.0 17.09.2020. Twitter Direct: add missing hovercard path
  • v0.5.2 17.09.2020. Twitter Direct: speed up path matching bump get-wild to improve the performance of wilcard matches
  • v0.5.1 16.09.2020. Twitter Direct: cleanup replace custom `get` function with an NPM module
  • v0.5.0 11.09.2020. Twitter Direct: add some missing card URLs + switch to gm-compat + improve logging
  • v0.4.2 27.08.2020. Twitter Direct: add missing card link
  • v0.4.1 27.08.2020. Twitter Direct: bump dependency + cosmetics
  • v0.4.0 26.08.2020. Twitter Direct: add some missing links
  • v0.3.1 06.08.2020. Twitter Direct: portability fix (#11)

Show all script versions