From 6b707fbc1d5857da25c4f6447a0d5c3ad707f5ba Mon Sep 17 00:00:00 2001 From: Snipzil Date: Wed, 21 Oct 2026 23:06:05 -0400 Subject: [PATCH] fix(theatre): a site the client keeps out opens in the player's own browser The desktop client now shows only a few listed sites in the theatre's browser (DuckDuckGo and Wikipedia, burrow-client "the browser shows a few listed sites"), as its old Chromium has holes that will never be mended. When it keeps an address out, browserState says so: the bar then reads " opens in your own browser, not here.", with the sites it shows in the title, and "Open in your browser" hands the address to the client to open in the system browser. A click on the notice goes back to the address. A client that sends no `blocked` shows the bar as before. duckduckgo.com, the browser's start page since 9720d30, is now listed in .github/allowed-hosts.json, which the security check wanted. Co-Authored-By: Claude Opus 5.5 --- .github/allowed-hosts.json | 1 + public/game.html | 55 +++++++++++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/.github/allowed-hosts.json b/.github/allowed-hosts.json index 277f9b2..e0b0a9f 100644 --- a/.github/allowed-hosts.json +++ b/.github/allowed-hosts.json @@ -5,6 +5,7 @@ "cdn.jsdelivr.net", "challenges.cloudflare.com", "discord.com", + "duckduckgo.com", "play.burrow.moe", "player.vimeo.com", "vision.googleapis.com", diff --git a/public/game.html b/public/game.html index 25b1147..3970464 100644 --- a/public/game.html +++ b/public/game.html @@ -135,6 +135,18 @@ #browser-address:focus { border-color: #7f6744; } + /* a site the client keeps out of the theatre (its own list): offered + in the player's own browser instead */ + #browser-blocked { + flex: 1; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font: 400 calc(12 * var(--px)) / 1 Arial, Helvetica, sans-serif; + color: #3d2716; + cursor: text; + } #browser-bar .aj-button { min-width: 0; font-size: calc(12 * var(--px)); @@ -258,7 +270,9 @@ - + + +