delete all the tweets - M0YNG.uk
Created 2024-11-06
- Hacking
Fuck twitter, anyway I've just deleted every tweet I posted since I joined in 2008 before deleting my accounts.
I threw this code together to do it, it sucks, it doesn't work without needing to refresh the entire page often, but it does work.
go to your profile, then "with replies", then open developer tools and paste this into the console, then when it seems to stop working refresh and do it again
document.querySelectorAll('[data-testid="unretweet"]').forEach(unretweet => {
unretweet.click();
setTimeout(confirmUnRetweet, 300);
});
function confirmUnRetweet() {
document.querySelectorAll('[data-testid="unretweetConfirm"]').forEach(confirmUnRetweetElement => {
confirmUnRetweetElement.click();
})
}
function openMenu() {
document.querySelectorAll('[data-testid="cellInnerDiv"] [aria-label="More"]').forEach(menuEl => {
menuEl.click();
setTimeout(clickDelete, 300);
})
}
function clickDelete() {
try {
Array.from(
document.querySelectorAll('[role="menuitem"]')).find(el => el.textContent.includes('Delete')).click();
setTimeout(confirmDelete, 300);
} catch (error) {
console.error('can\'t click delete as there is no delete on this menu');
}
}
function confirmDelete() {
document.querySelector('[data-testid="confirmationSheetConfirm"]').click();
setTimeout(openMenu, 300);
}
openMenu();
-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-
🖤 Black Lives Matter
💙🤍💜 Trans Rights are Human Rights
❤️🧡💛💚💙💜 Love is Love
Copyright © 2025 Christopher M0YNG - It is forbidden to use any part of this site for crypto/NFT/AI related projects.
Page generated 2025-08-07 by Complex 19