Skip to content

Instantly share code, notes, and snippets.

@pouriaalmassi
Created February 25, 2019 02:32
Show Gist options
  • Save pouriaalmassi/9c3fa191f7e1a5722c87e42784b8aa3a to your computer and use it in GitHub Desktop.
Save pouriaalmassi/9c3fa191f7e1a5722c87e42784b8aa3a to your computer and use it in GitHub Desktop.
A CSS snippet to hide a Reddit user's username.
/* Hide Reddit username new design (2018-) */
div[class*="s1ilcdod-18 dsBbYg"] {
visibility: hidden;
}
/* Hide Reddit username old design (pre-2018) */
span[class="user"] {
visibility: hidden !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment