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

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v2025.09.19.4 20.09.2025

    - 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 14.09.2025

    - 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 12.09.2025

    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 12.09.2025

    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 09.09.2025

    updated desc

  • v2025-09-08 09.09.2025
  • v2025-08-21 21.08.2025
  • v2025-07-03 03.07.2025
  • v2025-07-03 03.07.2025
  • v2024-05-11 20.05.2025