Twatter Feed Doctor

Enhance your X (Twitter) experience with Twat Doc: a powerful userscript featuring customizable content filters to hide spam, foreign languages, they/them lib content (🏳️‍⚧️, 🏳‍🌈, 🍉, 💉, etc), and low-quality posts; automuting based on user scores; visual tweaks like relative timestamps, larger buttons, and direct video links to view videos with your brower's native player

这些是此脚本的所有版本。 只显示代码变更过的版本。

  • v2025.09.19.4 2025-09-22
  • v2025.09.19.4 2025-09-21
  • v2025.09.19.4 2025-09-20

    - move TaskQueue to utilities.js
    - add performance.clearXhrPostCacheOnUrlChange to settings
    - add excludeFollowing to all content handlers; set appropriate defaults
    - change number formatting for content metrics
    - change "items" to "postCount" in groupXhrPosts tool
    - no longer store this.contentMeta in XhrPost object to save memory
    - move clickContextMenuItem from local to global scope
    - add function isUserWhitelisted
    - restore searchParam global var that was inadvertenly removed, breaking some content handlers
    - add error handling for ads templates with no timestamp; will fully address in future update
    - add "deletes not enabled" message and suppressor option
    - add enableDeletesMutesOnTypedQueries
    - add BannedText.enableDeletes
    - fix directive deletion message
    - include "typeahead_click" for isTypedSearch
    - fixed bug where reposts overwrite their referring post in the cache if both are loaded at some point within the same page lifecycle
    - fixed bug where navigating from one feed to another doesn't always register as feed change
    - enforce font face on all injected html elements
    - change color-coding
    - update post info fonts

  • v2025-09-14.1 2025-09-14

    - memory leak bug patch phase 1 (complete): only ratain xhr data if retainRawXhrData === true; remove post from cache if it is removed from feed
    - memory leak bug patch phase 2 (wip): figure out a way to dispose of old cached posts. even though xhr data is not retained, the spa nature of twatter can still cause these to accumulate, consuming memory until the next full page reload
    - top level post in post view now displays post info
    - reorganize tools. add new uncheckInterests tool to auto-click interests

  • v2025-09-12.1 2025-09-13
  • v2025-09-12.1 2025-09-12

    forgot to add change log to last commit:

    misc symbol name changes
    add XhrUser.restId
    add flagHandler for filterDirectives
    update settings tooltips
    add isFeeduser function
    add settings.accounts.username
    disable MutedBlocked if isLoggedInUser

    for this commit:

    fix flagHandler enable/disable bug where it only affected one directive, not all

  • v2025-09-12 2025-09-12

    misc symbol name changes
    add XhrUser.restId
    add flagHandler for filterDirectives
    update settings tooltips
    add isFeeduser function
    add settings.accounts.username
    disable MutedBlocked if isLoggedInUser

  • v2025-09-08 2025-09-09

    updated desc

  • v2025-09-08 2025-09-09
  • v2025-08-21 2025-09-07
  • v2025-08-21 2025-08-21
  • v2025-07-03 2025-07-12
  • v2025-07-03 2025-07-03
  • v2025-07-03 2025-07-03
  • v2025-07-03 2025-07-03
  • v2025-07-03 2025-07-03
  • v2025-07-03 2025-07-03
  • v2024-05-11 2025-05-21
  • v2024-05-11 2025-05-21
  • v2024-05-11 2025-05-21
  • v2024-05-11 2025-05-20
  • v2024-05-11 2025-05-20
  • v2024-05-11 2025-05-20
  • v2024-05-11 2025-05-20
  • v2024-05-11 2025-05-20
  • v2024-05-11 2025-05-20