Cleanup
Cleanup removes parts of the X interface that are not posts. It is free on every plan and works purely in the browser.
What Cleanup Can Hide
- Promoted posts — sponsored units in the feed.
- Premium and verification upsells — cards and links prompting Premium or verified organizations.
- Sidebar trends — the trending topics module in the sidebar.
- Who to follow — account recommendation modules.
- Grok entry points — Grok drawer, nav links, and image-generator entry points.
- View counts — the analytics link under posts.
- Inline reply prompts — prompts injected into the timeline.
- Community Notes rating prompts — birdwatch rating prompts.
Timeline Tab Control
Cleanup also includes two timeline tab controls:
- Force Following tab — on the home timeline, automatically selects the chronological Following tab.
- Hide For You tab — hides the For You tab once Following is active.
If you manually click a tab, the extension respects your choice for that page view and will not fight you.
How It Works
Cleanup rules target data-testid and ARIA attributes rather than X's obfuscated CSS classes. Each rule is marked as stable or candidate:
- Stable selectors have stayed valid across X releases.
- Candidate selectors may need re-verification after a major X change. They fail closed (no match, no effect) rather than hiding the wrong thing.
Elements are marked with a data-xpresspurge-cleanup attribute rather than removed, so toggling a setting off restores them immediately.
Privacy
Cleanup is local DOM work. It does not send any data to the XpressPurge backend.
Current UI Note
The 0.2.8 release ships the Cleanup engine with default settings. Individual toggles are controlled through settings.cleanup. A dedicated Cleanup settings panel may be added in a future update.