Menu

Building a screen-blur extension that doesn't fall apart on React apps
📰

Building a screen-blur extension that doesn't fall apart on React apps

DEV Community: react·Kinto Labs·about 5 hours ago
#hmF9uXNJ
#devtoreact#devto#dev#card#blur
Long article (1711 words) — no AI summary yet.
Reading 0:00
15s threshold

A few weeks ago I shipped BlurDock — live on the Microsoft Edge Add-ons store — a Chrome/Edge extension that blurs sensitive regions of the screen live — before and during a screen share, recording, or screenshot. The pitch sounds trivial: draw a box, blur what's under it. It is not trivial, and almost every version I tried before landing on the current approach broke in one specific, humiliating way: the blur worked perfectly on a static page, and then silently disappeared the moment the underlying app re-rendered.

This is the post-mortem on why that happened, what actually fixed it, and the two smaller but equally annoying bugs I hit building the PII-detection engine that ships alongside it.

Constraint #1: no <all_urls> , no backend

Before getting into the bugs, the permission model mattered for how I could even approach this. BlurDock only requests activeTab + scripting + storage .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.