Read the post, not the profile.
A tiny Chrome extension that blurs, hides or replaces profile pictures across your social feeds,
with optional swear-word masking and media blur.
Faces anchor how we read. A post from someone attractive, famous or familiar reads differently from the same words under a stranger's photo. Hide Profile takes the faces out of the feed so the words and ideas stand on their own. You can also keep your feed calmer and family-friendly.
hide-profile-promo-final.mp4
| Three styles | Blur · Hide (neutral placeholder) · Replace with one of 7 preset avatars or your own image |
| Reveal on hover | Peek at the real picture when you want to |
| Smart detection | Catches small, round avatars the per-site rules miss, so redesigns keep working |
| Clean language | Masks swear words in English, Hinglish and Devanagari (f•••ing, b•••••••) and catches look-alikes such as f*ck and sh1t |
| Blur media | Blurs post images, thumbnails and videos until you hover |
| Hide follower counts | Blurs follower, following, subscriber and connection counts so takes stand on their own |
| Reveal one post | Alt+Shift+R reveals just the focused post (or the one under your pointer); press again to hide it. Works with keyboard feed navigation such as J/K on X |
| Per-site control | Turn each site on or off, or use the global switch. Alt+Shift+H toggles everything |
| Light & dark | The popup follows your system theme |
Supported sites: X / Twitter · LinkedIn · Peerlist · GitHub · Reddit · YouTube · Instagram · Threads · Facebook · Bluesky · DEV · Medium
| Before | Blur | Replace |
|---|---|---|
![]() |
![]() |
![]() |
| Shield: clean language + blur media | Popup (light) | Popup (dark) |
|---|---|---|
![]() |
![]() |
![]() |
From source (unpacked):
- Download or clone this repo:
git clone https://github.com/imnakul/hide-profile.git
- Open
chrome://extensions(oredge://extensions,brave://extensions) - Turn on Developer mode
- Click Load unpacked and select the
hide-profilefolder - Pin the extension and open the popup
It works in any Chromium browser: Chrome, Edge, Brave, Arc, Opera and Vivaldi.
- No network requests. Nothing leaves your browser, and there is no analytics or telemetry.
- Only
storagepermission. It runs only on the sites listed above. - Settings and your uploaded avatar stay in
chrome.storage.localon your device.
The content script (src/content.js) runs at document_start on supported sites:
- Site rules in
src/shared.js→SITESmark known avatars by selector, e.g.img[src*="pbs.twimg.com/profile_images"]. - Smart detection checks the remaining
<img>s after layout but before paint, insiderequestAnimationFrame. An image counts as an avatar if it is 18–200px, square, and clipped to a circle on itself or on a same-size wrapper. With Blur media on, larger images are marked as media instead. - Marked elements get a
data-hp/data-hp-mediaattribute. One injected stylesheet does the rest:- Blur uses
filter: blur() - Hide and Replace use
content: url(…)on<img>, andbackground-imagefor avatars painted as backgrounds (X)
- Blur uses
- Clean language walks text nodes once and masks matches in place, with one precompiled regex. Editable fields are never touched, and turning it off restores the original text.
- Hide follower counts finds short elements whose whole text reads like
1.2K followersor500+ connections, including when the number and label sit in separate spans, and marks them withdata-hp-count. - Reveal one post sets
data-hp-revealon the closest post container (article, Reddit/YouTube/LinkedIn post elements); every rule skips elements inside it. Both shortcuts can be changed atchrome://extensions/shortcuts. - A
MutationObserverkeeps up with infinite scroll and SPA navigation. Settings apply live without a reload.
The page's markup is never rewritten, and avatars are styled before they paint, so there's no flash of the real image.
These are deliberately simple, low-cost filters, not AI classifiers:
- Word masking is list-based. It catches common words and look-alikes, but not every spelling or context.
- Blur media blurs all sizeable images and videos. It doesn't judge what they show.
- Hide follower counts matches English labels only.
- Sites change their markup often. If something slips through, please open an issue or a PR (see below).
Add an entry to SITES in src/shared.js, and add its host to content_scripts.matches in manifest.json:
{ id: 'mastodon', name: 'Mastodon', hosts: ['mastodon.social'], img: ['img.account__avatar'] }| Key | Use for |
|---|---|
img |
<img> avatars |
bg |
Elements painting the avatar as a background-image |
media |
Post-media containers to blur as a whole |
svg: true |
Sites that draw avatars with <svg><image> |
Add a stem to WORDS in src/shared.js. Anything after the stem matches too (fuck → fucking), and vowels match common look-alikes automatically.
hide-profile/
├── manifest.json
├── src/
│ ├── shared.js # sites, presets, word list, defaults
│ ├── content.js # detection + styling, runs on supported sites
│ └── background.js # badge + keyboard shortcut
├── popup/ # settings UI
├── icons/ # generated by scripts/make-icons.mjs
└── docs/ # screenshots
Run node scripts/make-icons.mjs to regenerate the icons. It needs no dependencies.






