Skip to content

[Content Security] Add a standalone-link controller for modal external links - #15107

Draft
manu-gurudath wants to merge 2 commits into
mainfrom
csp-handler-standalone-link
Draft

manu-gurudath wants to merge 2 commits into
mainfrom
csp-handler-standalone-link

Conversation

@manu-gurudath

@manu-gurudath manu-gurudath commented Sep 19, 2026

Copy link
Copy Markdown
Member

Modal external links retarget to _top inside an installed PWA through a standalone-link Stimulus controller instead of an onload.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A8Q14mneHoqkzhDrgWFBFN

Testing

export-1789882578588.mp4

…l links

Modal external links retargeted themselves to `_top` inside an installed PWA,
where there is no browser chrome to come back from, via an `onload` attribute
on the SVG. That becomes `standalone-link`, which does the same check on
connect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A8Q14mneHoqkzhDrgWFBFN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants