From 4ebf1c4340e32cbcfcb0892ac4e7e30b940678e2 Mon Sep 17 00:00:00 2001 From: rangoDJ Date: Wed, 18 Nov 2026 19:25:15 -0500 Subject: [PATCH] docs(web): WebGL1 fallback, blank page without WebGL, allow-popups optional eframe's Glow renderer tries WebGL2, then WebGL1. With neither the app does not start and the page stays blank; the error goes to the console and a connected host gets the failed message. allow-popups is optional: without it, help, release, community and document links do nothing, and ?embedded hides only the community links. --- packaging/web/README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/packaging/web/README.md b/packaging/web/README.md index cdad88185e..bd304cd00e 100644 --- a/packaging/web/README.md +++ b/packaging/web/README.md @@ -104,10 +104,11 @@ From a source build, `trunk build --release` doesn't fetch the models. Add them that partition or block third-party storage may forget them between visits, and the app then starts with defaults. - **Sandboxed iframes** need at least - `sandbox="allow-scripts allow-same-origin allow-downloads allow-popups"`. Without - `allow-same-origin` there's no storage. Without `allow-downloads`, Save and Export (browser - downloads) are blocked. Without `allow-popups`, external links (community, documentation) cannot - open; pass `?embedded` on the iframe `src` to hide external community links cleanly. + `sandbox="allow-scripts allow-same-origin allow-downloads"`. Without `allow-same-origin` + there's no storage. Without `allow-downloads`, Save and Export (browser downloads) are blocked. + `allow-popups` is optional: it lets links open in a new tab (help and documentation, the + releases page, community links, and links in a document once the user allows them). Without + it they do nothing. `?embedded` on the iframe `src` hides the community links; the others stay. - Don't send `X-Frame-Options: DENY` or a `frame-ancestors` CSP that excludes the embedding page. ## Same-document host mode (no iframe) @@ -190,8 +191,10 @@ URL query flags configure startup behavior. They work on the iframe `src` too. For example: `