Skip to content

Instantly share code, notes, and snippets.

@rauschma
Last active October 26, 2023 15:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rauschma/caedecb363ccaf87823266b825436ae2 to your computer and use it in GitHub Desktop.
Save rauschma/caedecb363ccaf87823266b825436ae2 to your computer and use it in GitHub Desktop.
const primaryColumn = document.querySelector('div[data-testid="primaryColumn"]');
document.body.innerHTML = '';
document.body.append(primaryColumn);
// Per-tweet controls
for (const ele of document.querySelectorAll('div[role="group"]')) {
ele.remove();
}
// Reply widget
document.querySelector('div[role="progressbar"]').nextSibling.remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment