Skip to content

maximilianromer/Hide-X-Username

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X Username Hider

Chrome extension that hides your identity on X/Twitter for shoulder-surfing privacy. Your username, display name, and profile picture are hidden from the page so nobody looking over your shoulder can see who you are.

Install

  1. Clone or download this repo
  2. Go to chrome://extensions
  3. Enable Developer mode
  4. Click "Load unpacked" and select this folder

Usage

Navigate to x.com and click the extension icon. Two independent toggles let you control what's hidden:

  • Username — hides your @handle and display name everywhere on the page, including the sidebar, profile headings, and the browser tab title
  • Profile pic — hides your avatar in the sidebar and navigation (avatars on tweets in the timeline are left visible)

Both are on by default. Your settings persist across sessions.

How it works

  • Username hiding walks the DOM and hides text nodes matching your handle or display name
  • Avatar hiding injects CSS that targets your specific avatar containers
  • A MutationObserver keeps everything hidden as X dynamically loads new content

Contributions

If you want to improve this, send me a message or file a PR and I'll probably merge.

About

Chrome extension that hides your identity on X/Twitter for shoulder-surfing privacy

Topics

Resources

License

Stars

Watchers

Forks

Contributors