Skip to content

Add BrowserBox browser integration#634

Open
crisdosaygo wants to merge 1 commit intoDustinBrett:mainfrom
BrowserBox:feature-browserbox-daedalos
Open

Add BrowserBox browser integration#634
crisdosaygo wants to merge 1 commit intoDustinBrett:mainfrom
BrowserBox:feature-browserbox-daedalos

Conversation

@crisdosaygo
Copy link

@crisdosaygo crisdosaygo commented Mar 18, 2026

Summary

Replaces the remote browser navigation in daedalOS with a BrowserBox webview integration. Demo sessions are bootstrapped through the existing win9-5.com session API — the local iframe/directory browser path is left untouched for local content.

Also removes the Cross-Origin-Embedder-Policy: credentialless header from next.config.js since it blocks cross-origin iframes like the BrowserBox session frame.

Live demo: https://daedalos.win9-5.com/?app=Browser

What changed

  • Browser/index.tsx — wires up the BrowserBox webview, manages session lifecycle
  • browserboxSession.ts — small client for the demo session API
  • StyledBrowser.ts — adds styles for the .browserbox-host wrapper
  • browserbox-webview.js — the <browserbox-webview> web component (public asset)
  • next.config.js — drops COEP credentialless (incompatible with cross-origin iframe embedding)

Testing

  • corepack yarn build
  • corepack yarn test --runInBand
  • BrowserBox loads inside the Browser app, mid-sync establishes, no reload loop
  • Local directory browser still works for non-BrowserBox URLs

Deployment-specific hosting bits (CF Pages scripts etc.) are on a separate branch.

@crisdosaygo
Copy link
Author

hey @DustinBrett i remember a long time ago I talked about this - and it's finally done! Hope you're well, man!

@crisdosaygo
Copy link
Author

crisdosaygo commented Mar 19, 2026

And it's live here: https://daedalos.win9-5.com/

Linked: https://win9-5.com/demo

- Replace remote browser navigation with BrowserBox webview component
- Bootstrap BrowserBox demo sessions from win9-5.com session API
- Keep local iframe/directory browser path intact for local content
- Remove COEP credentialless (blocks cross-origin BrowserBox iframe)
- Update browserbox-webview.js with embedder-origin API

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@crisdosaygo crisdosaygo force-pushed the feature-browserbox-daedalos branch from 6474592 to 8ed6ce5 Compare March 19, 2026 15:53
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.

1 participant