What it does
The script scans rendered Twitter/X posts, places a trash button near the action controls, and runs the same delete path a user would normally click through manually.
Browser userscript
Made with Qwen 3.6 in Hermes Agent. A small userscript that adds a direct delete button beside the normal Twitter/X post actions, opens the post menu, confirms deletion, and shows a compact status toast.
The script scans rendered Twitter/X posts, places a trash button near the action controls, and runs the same delete path a user would normally click through manually.
Install it with a userscript manager such as Tampermonkey, open Twitter or X, and use the trash button on posts that can be deleted from your account.
Adds a clear trash button beside the normal post actions.
Finds the menu delete action and confirms the dialog when available.
Uses DOM observation and periodic checks for newly rendered posts.
Shows short feedback when deletion succeeds or when a control is missing.
The userscript runs on twitter.com and x.com after the page becomes idle.
// @match https://twitter.com/*
// @match https://x.com/*