Skip to content

Instantly share code, notes, and snippets.

@squidfunk
Last active January 10, 2026 22:35
Show Gist options
  • Select an option

  • Save squidfunk/ec27cf48906f188916e4970e7930c405 to your computer and use it in GitHub Desktop.

Select an option

Save squidfunk/ec27cf48906f188916e4970e7930c405 to your computer and use it in GitHub Desktop.
Don't get sucked into Twitter (recommended extension: User CSS)
/* Hide menu items */
[aria-label^="Home"][role="link"],
[aria-label^="Search"],
[aria-label^="Bookmarks"],
[aria-label^="Grok"],
[aria-label^="Lists"],
[aria-label^="Communities"],
[aria-label^="Twitter Blue"],
[aria-label^="Premium"],
[aria-label^="Verified"],
[href="/i/premium_sign_up"] {
display: none;
}
/* Hide timeline */
[aria-label^="Timeline: Your Home"] {
visibility: hidden;
}
/* Hide new posts banner */
[role="status"] {
visibility: hidden;
}
/* Hide non-interactive user cells */
[data-testid="UserCell"]:not([role="button"]) {
visibility: hidden;
}
/* Hide right sidebar */
[data-testid="sidebarColumn"] {
visibility: hidden;
}
/* Hide message drawer */
[data-testid="DMDrawer"] {
visibility: hidden;
}
@squidfunk
Copy link
Author

squidfunk commented Jan 10, 2026

Bluesky:

/* Hide menu items */
[aria-label^="Startseite"],
[aria-label^="Entdecken"],
[aria-label^="Feeds"],
[aria-label^="Listen"],
[aria-label^="Gespeichert"],
[aria-label^="Thema"],
[aria-label^="Discover"],
[aria-label^="Following"],
[aria-label^="Mehr Feeds"] {
  display: none;
}

/* Hide timeline */
[data-testid="customFeedPage"] {
  visibility: hidden;
}

Fosstodon:

/* Hide menu items */
[href="/explore"],
[href="/public/local"],
[href="/lists"],
[href="/favourites"],
[href="/followed_tags"],
[href="/bookmarks"] {
  display: none;
}

/* Hide timeline */
[aria-label="Home"] {
  visibility: hidden;
}

/* Hide rulers in sidebar */
.navigation-panel__menu hr {
  display: none;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment