From 108a20fe403ec78c9612a1d83207bafec005081d Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Sun, 4 Oct 2026 11:26:45 +0200 Subject: [PATCH] ui: share links now put the payload in the URL fragment, embed decodes both --- CHANGELOG.md | 1 + index.html | 1 - src/common/util.ts | 52 ++++++++++++++++++++++++++++++++++++++++++ src/ide/embedui.ts | 26 ++++++++------------- src/ide/services.ts | 2 +- src/ide/shareexport.ts | 22 ++++++++---------- test/unit/testutil.ts | 24 ++++++++++++++++++- 7 files changed, 97 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dba32158..f8acd0d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ See [extension/CHANGELOG.md](extension/CHANGELOG.md). - Click `#include`/`#link` decorations to open the file; offer to import a GitHub repo given by `repo=` ("user/repo" or a tree URL). - Tool info dialog and generated toolchain docs; Help window with ID docs. - File | New only lists extensions that have skeleton files. +- "Share Playable Link" packs the game into the URL fragment instead of the query string, so it no longer hits the web server's ~8 KB request-line limit, and encodes it as URL-safe Base64 to avoid percent-encoding. Old `?r=` links still play. - Removed the Markdown/Showdown platform, the old `script` platform, Google Analytics, Sentry (replaced with a new error-reporting endpoint) and the HTTPS redirect. ### Asset editor diff --git a/index.html b/index.html index d74e5c30..508fdf7c 100644 --- a/index.html +++ b/index.html @@ -357,7 +357,6 @@ body {

You can also embed it into an IFRAME:

-

Note: These links may be too long for IE/Edge browsers.

Note: These links may be too long for some browsers.