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.0 2024-05-17

    handle Twitter -> X domain-name change

  • v3.0.1 2024-05-10

    Twitter Direct - cleanup

  • v3.0.0 2024-05-05

    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 2023-04-12 Twitter Direct - cleanup
  • v2.3.1 2023-04-08 Twitter Direct - cleanup
  • v2.3.0 2022-12-13 Twitter Direct - add support for Community Notes
  • v2.2.0 2022-06-26 Imported from URL
  • v2.0.0 2022-06-26 Imported from URL
  • v2.1.6 2022-01-01 Twitter Direct: doctweak
  • v2.1.5 2021-11-13 Twitter Direct: restore embedded media URLs
  • v2.1.4 2021-11-13 Twitter Direct - skip large document with no URLs
  • v2.1.3 2021-10-23 Twitter Direct: doctweak
  • v2.1.2 2021-06-07 Twitter Direct - add a missing path
  • v2.1.1 2021-05-19 Twitter Direct: fix an omitted path check for $.url before $.legacy to catch legacy.url nodes
  • v2.1.0 2021-05-16 Twitter Direct: performance improvements the v2 replacement engine is now no slower than v1 and up to 15% faster
  • v2.0.1 2021-05-15 Twitter Direct: cleanup
  • v2.0.0 2021-05-15 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 2021-05-13 Twitter Direct: add new endpoint: TweetDetail update paths for: - UserMedia - UserTweets - UserTweetsAndReplies
  • v1.7.3 2021-05-08 Twitter Direct: cleanup
  • v1.7.2 2021-05-03 Twitter Direct: cleanup
  • v1.7.1 2021-05-02 Twitter Direct - add new endpoints: - Bookmarks - Likes - ListLatestTweetsTimeline - UserByScreenNameWithoutResults - UserTweetsAndReplies - add missing UserTweets paths
  • v1.7.0 2021-05-01 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 2021-04-19 Twitter Direct: add missing timeline rule
  • v1.5.0 2021-04-10 Twitter Direct: add rule for "Who to follow" links
  • v1.4.3 2021-03-28 Twitter Direct: cosmetics
  • v1.4.2 2021-03-03 Twitter Direct: fix mobile.twitter.com Add mobile.twitter.com as an API endpoint
  • v1.4.1 2021-02-09 Twitter Direct: bump dependencies
  • v1.4.0 2021-01-21 Twitter Direct: add rules for the "Liked by" and "Retweeted By" lists
  • v1.3.2 2021-01-19 Twitter Direct: update dependencies
  • v1.3.1 2020-11-24 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 2020-11-13 Twitter Direct: fix video playback + add missing case (followers-you-follow)
  • v1.2.0 2020-10-13 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 2020-10-10 Twitter Direct: doctweak
  • v1.1.0 2020-10-09 Twitter Direct: add rules for list members/followers
  • v1.0.1 2020-10-03 Twitter Direct: cleanup
  • v1.0.0 2020-10-02 Twitter Direct: refactor filter queries with a URL router rather than trying every query against every URL
  • v0.8.0 2020-10-01 Twitter Direct: add missing hovercard cases
  • v0.7.2 2020-10-01 Twitter Direct: fix card URL
  • v0.7.1 2020-10-01 Twitter Direct: cleanup
  • v0.7.0 2020-10-01 Twitter Direct: add missing card case
  • v0.6.1 2020-09-19 Twitter Direct: speed up path parsing + fix missing source-map error
  • v0.6.0 2020-09-17 Twitter Direct: add missing hovercard path
  • v0.5.2 2020-09-17 Twitter Direct: speed up path matching bump get-wild to improve the performance of wilcard matches
  • v0.5.1 2020-09-16 Twitter Direct: cleanup replace custom `get` function with an NPM module
  • v0.5.0 2020-09-11 Twitter Direct: add some missing card URLs + switch to gm-compat + improve logging
  • v0.4.2 2020-08-27 Twitter Direct: add missing card link
  • v0.4.1 2020-08-27 Twitter Direct: bump dependency + cosmetics
  • v0.4.0 2020-08-26 Twitter Direct: add some missing links
  • v0.3.1 2020-08-06 Twitter Direct: portability fix (#11)
  • v0.3.1 2020-08-06 Twitter Direct: portability fix (#11)

Show all script versions