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.
- Clone or download this repo
- Go to
chrome://extensions - Enable Developer mode
- Click "Load unpacked" and select this folder
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.
- 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
If you want to improve this, send me a message or file a PR and I'll probably merge.