FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How I Built Real-Time PII Detection Inside ChatGPT's Hostile Text Editor (Without Breaking It)
How-ToWeb Development

How I Built Real-Time PII Detection Inside ChatGPT's Hostile Text Editor (Without Breaking It)

via Dev.to WebdevApoorva Sharma8h ago

If you've ever tried to build a Chrome extension that modifies text inside ChatGPT, Gemini, or Claude, you know it's not like injecting into a normal <textarea> . These apps use rich text editors — ProseMirror (ChatGPT), Draft.js-style frameworks — that actively fight external DOM manipulation. They reconcile state internally, swallow events, and will silently undo your changes on the next keystroke. I spent months figuring out how to detect and highlight sensitive data (API keys, passwords, PII) inside these editors without breaking them . This is the technical story of what I built, what failed, and the architecture I landed on. The project is called Prompt Armour — a Chrome extension that intercepts your input on AI chatbot platforms and catches sensitive data before it's sent to the LLM. It runs 100% client-side. No servers, no data collection. But this article isn't a product pitch. It's about the engineering. The Problem: You Can't Just Modify the DOM My first instinct was simple

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

The Quiet Advantage of Learning in Small, Practical Steps
How-To

The Quiet Advantage of Learning in Small, Practical Steps

Medium Programming • 3h ago

2. Readers-writers Problem
How-To

2. Readers-writers Problem

Medium Programming • 5h ago

The Part Nobody Could Scale
How-To

The Part Nobody Could Scale

Medium Programming • 6h ago

Claude Code Now Lets You Code From Your Phone. Here’s What I Learned the Hard Way.
How-To

Claude Code Now Lets You Code From Your Phone. Here’s What I Learned the Hard Way.

Medium Programming • 7h ago

Stop Watching Tutorials: The Real Way to Learn Coding Faster
How-To

Stop Watching Tutorials: The Real Way to Learn Coding Faster

Medium Programming • 8h ago

Discover More Articles