Automatically clicks the delete confirmation button when it appears on chatgpt.com
Automatically confirms conversation deletion on chatgpt.com — no more manual clicks when deleting old chats.
When you delete a conversation in ChatGPT, a confirmation popup appears asking you to confirm the deletion.
This userscript detects that popup and automatically clicks the “Delete” confirmation button for you.
It’s built to be safe, fast, and compatible with ChatGPT’s modern single-page app (SPA) architecture.
The script watches for elements matching this selector:
[data-testid="delete-conversation-confirm-button"]
Once detected and visible, it safely clicks them automatically — simulating what you'd do manually.
It also handles lazy-loaded elements (via MutationObserver), has a fallback poll every second for reliability,
and plays nice with SPA navigation between chat pages.
MIT © Aravvn
MutationObserver to watch DOM for changesrequestAnimationFrame to avoid redundant scans1000msbeforeunloadv1.0.0
If you like the script, give it a 👍 on SleazyFork.
Bug reports or feature ideas are welcome in the comments section.