TL;DR: Ctrl+Z, Ctrl+C and Ctrl+X kept failing for me in the env var fields on Cloudflare and Vercel, and pasting there would hang the tab until Brave offered to kill it. The cause was the Google Input Tools extension. Disabling it fixed everything.

The symptom

Shortcuts I press a thousand times a day would just do nothing. Not always. Sometimes. Mostly in the places where it hurts most: the environment variable fields on the Cloudflare and Vercel dashboards, where I paste secrets and really want undo to work.

A paste that froze the tab

To test, I opened the Cloudflare Workers settings page, clicked Add variable, and pasted from my clipboard into the Key field. The clipboard held 44 characters: a variable name followed by =, nothing after it.

The tab froze. Not slow, frozen. A few minutes later Brave showed its "Page unresponsive" dialog with Wait and Exit page. Waiting did nothing.

It wasn't a Cloudflare thing. Pasting into the environment variable fields on Vercel, under Project Settings → Environment Variables, did the same. Two different dashboards, built by two different companies, both breaking on the same kind of paste.

The same pastes in Chrome worked fine. So it was something Brave had that Chrome didn't, which almost always means an extension.

Scanning every extension

I had 37 extensions installed in Brave. Instead of turning them off one by one, I wrote a short Python script that:

  1. Read every manifest.json in ~/.config/BraveSoftware/Brave-Browser/Default/Extensions/.
  2. Kept only the extensions whose content scripts run on Cloudflare, either <all_urls> or a Cloudflare match.
  3. Searched those scripts for paste, keydown, beforeinput, MutationObserver, execCommand and preventDefault.

Nine enabled extensions ran on the Cloudflare dashboard. Since it broke on Vercel too, the cause had to be one that also runs there, which pointed at the <all_urls> ones. One stood out:

Extension preventDefault execCommand keydown handlers
Google Input Tools 30 41 6
Claude 6 0 5
Cookie Guard 0 0 2
Google Dictionary 1 0 1

Google Input Tools is a typing tool that runs inside every page on every site. It catches your keystrokes before the page does and edits the text field itself. In other words, it's an input method living inside the browser.

I disabled it, reloaded both dashboards and pasted again. No freeze on Cloudflare, no freeze on Vercel. Ctrl+Z, Ctrl+C and Ctrl+X all worked.

What I don't know

I didn't take the extension apart to find the exact line. My guess is that it fights with the page. Both the Cloudflare and Vercel forms rewrite their own fields when you paste KEY=VALUE text (both accept whole .env files and split them into rows), the extension reacts to that change, the page reacts back, and the tab never gets out. That's a guess, not something I proved.

Lessons

  • An input method can live inside the browser. Extensions like this one sit between your keyboard and the page, and they can eat your shortcuts.
  • "Works in Chrome, broken in Brave" means extensions first. Brave itself was fine.
  • Extensions that run on <all_urls> add up. Nine extensions were sitting inside the Cloudflare dashboard alone, where I paste production secrets, and the <all_urls> ones were inside Vercel's too. That's worth thinking about beyond paste bugs.
  • If you need Google Input Tools, set its site access to "On specific sites" instead of everywhere.

I reported it on the Chrome Web Store listing. Until then: Google, please don't mess with paste.