From 32d5eadd8211e504a3a526b438d84ef70109cdef Mon Sep 17 00:00:00 2001 From: rgarcia <72655+rgarcia@users.noreply.github.com> Date: Tue, 28 Jul 2026 18:25:21 +0000 Subject: [PATCH 1/8] Open doc links in a new tab instead of navigating the sandboxed frame --- app/d/[slug]/CommentsShell.tsx | 4 +++- app/d/[slug]/raw/route.ts | 14 +++++++++----- lib/docs/overlay.ts | 31 +++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 6 deletions(-) diff --git a/app/d/[slug]/CommentsShell.tsx b/app/d/[slug]/CommentsShell.tsx index 76f2634..56dde5f 100644 --- a/app/d/[slug]/CommentsShell.tsx +++ b/app/d/[slug]/CommentsShell.tsx @@ -1003,11 +1003,13 @@ export default function CommentsShell(props: Props) {
+ {/* allow-popups (+ escape-sandbox): the overlay opens the doc's links in a new + tab rather than navigating this frame, which X-Frame-Options sites refuse. */}