diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8388309570..27886bc7d3 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -60,6 +60,38 @@ export default async function RootLayout({ children }) { return ( + {/* Pre-hydration cleanup: browser extensions (Bitdefender's + bis_skin_checked, Grammarly's data-gr-ext-installed, LanguageTool's + data-lt-installed, etc.) inject attributes into the DOM after SSR + but before React hydrates, causing hydration mismatch warnings in + dev. Strip them synchronously and observe for late injections; the + observer auto-disconnects after 5s (well past typical hydration). */} +