Add error handling to the captcha URL loading process to prevent
unhandled promise rejections. If the URL fails to load, the captcha
answer is cleared and the window is closed if it hasn't been destroyed.
The game page can put a web page on the theatre's screen for its player
alone, when the server allows it (the admin panel's switch).
- the page is a <webview> of its own partition (aj-browser): no preload,
sandboxed, no plugins, no webviews of its own; any other partition is
refused. it loads http(s) only and opens links in place; its session
denies every permission and download, and its user agent names no
Electron or Burrow.
- placed and clipped as the game page says (where the screen is and what
the game draws over it), and closed with the game.
- the page asks with ipc "browser"; it is told "browserSupported" when
this client can, and "browserState" for back, forward and the address.
a webview made inside a webview's ipc handler crashed the window, so
the message is handled a moment later.
- the old "Theatre browser (experimental)" tick under Advanced is gone:
the server turns it on.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sign-up box said "I am 13 or older"; it says 16 now, as the
server's terms, privacy policy and website sign-up do.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The game page could load nothing but its own server, so the theatre's
YouTube video (staff's, for the room) and a player's own video link were
blocked and showed black. It may now load the YouTube and Vimeo players'
hosts, and the one sound or video file link the player put in the
theatre's box, which the page passes on through the login page. Requests
of the Flash plugin itself stay on the game's server.
Not with onBeforeSendHeaders: in Electron 11 a listener there, even one
that changes nothing, stops YouTube's player.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
crypto.randomUUID does not exist in Electron 11's Node 12.18, so every
presence update threw in the main process on Windows. Request ids come
from crypto.randomBytes now.
Client 1.3.0 shows "Playing Burrow" on the player's Discord profile while
the game is open: where they are (the game's ajPresence, dens and player
parties never named), the time since they started and a button to the
download page. It goes through the Discord app's local IPC socket (no
packages; Windows pipe, Linux and macOS sockets, Flatpak and Snap too) and
retries quietly while Discord is not running. The server names its Discord
application in its flashvars (discordAppId); none, no presence.