run this script on twitter web, click the “more” button and watch the tweet disappear

Home   »   run this script on twitter web, click the “more” button and watch the tweet disappear

document.querySelectorAll('div[aria-label="More"]').forEach(more => more.addEventListener('click', () => {
  setTimeout(() => document.querySelectorAll('div[role="menuitem"][tabindex="0"]')[0].click(), 250)
  setTimeout(() => document.querySelector('[data-testid="confirmationSheetConfirm"]').click(), 500)
}))

Leave a Reply

Your email address will not be published. Required fields are marked *