From 2d9f8c9f432ffde138d07db548f6c929964d45e3 Mon Sep 17 00:00:00 2001 From: Local Dev Date: Mon, 31 Aug 2026 13:38:05 +0200 Subject: [PATCH] Theseus 0.1.3: branded error page for load failures (BUILT, NOT DEPLOYED) Setup f2afc14efc63008cbb9dad44176e94146386db4c0afda4459f1d4eb929172b6d Portable 5d08b1415526934db8de780949a610896064fe9567aa0e5e1702ebabd7eb7df2 Chromium's default 'This site can't be reached' replaced with a Theseus- themed error page. did-fail-load on every tab's webContents (main frame only, non-ignorable code) routes the tab to error.html with the attempt URL, host, error code, and description as query params. The page keeps t.url pointing at the failed URL so the address bar shows what the user typed and they can edit + retry - refreshTabUrl's existing file:// skip means the error page's own path never leaks back into the bar. Five kinds, chosen by pickErrorKind(code, host): name-not-registered BCNR-eligible host + ERR_NAME_NOT_RESOLVED. Says "no BCDN record on chain, no clearnet host either." Offers Register on Sirius + Search + Retry + Home. name-unreachable ERR_NAME_NOT_RESOLVED on a non-BCNR host. DNS failed - offers Retry + Search + Register + Home. unreachable CONN_REFUSED/RESET/TIMED_OUT/CLOSED/NETWORK_CHANGED. Offers Retry + Tor guide + Home. tls ERR_CERT_* range (-200..-299). Offers Retry + Home. generic Everything else. home-preload.js gains `window.errorpage` alongside `window.home`. Both APIs are sender-URL-gated in main - a random page seeing the shape can't invoke them (isErrorPageSender / isHomePageSender). The external- open handler additionally allowlists Silent Mode domains only. package.json build.files gets error.html + error-preload.js so electron-builder actually bundles them (GOTCHAS rule: an unlisted runtime-loaded file silently opens blank). Ship pages (releases-manifest.json, tools/index.html, releases/index.html, site-theseus-x/index.html) updated to 0.1.3 with the new hashes. DEPLOY STATUS - blocked on VPS SSH: my IP was hit with a full-port ban mid-turn (likely fail2ban from the burst of scp during the 0.1.0-0.1.2 iterations). Site pages/manifest/installers are committed locally but NOT yet on dl.silentmode.st or the Sia mirror. Live still reads 0.1.2. User needs to unban 195.184.247.106 on their end, or wait for the ban to expire, before the ship pages match reality. --- index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index af7cec5..b210b75 100644 --- a/index.html +++ b/index.html @@ -233,14 +233,14 @@

Theseus for Windows

Full-window desktop browser with Tor toggle and the multi-source BNS warm-start.

-
v0.1.2 · installer ~118 MB (bundles Ariadne's Thread) · portable ~116 MB · unsigned
+
v0.1.3 · installer ~118 MB (bundles Ariadne's Thread) · portable ~116 MB · unsigned
- Installer - Portable .exe + Installer + Portable .exe
-
Installerb8cc85ec0f70844e4ce14a70b0ff89b9d9720be2f0e5568e56c51ecef706b14d
-
Portable6540b4c67906046cd2c5303a9ccaa4e00a39b3daa5792b71e16c4f141f498220
+
Installerf2afc14efc63008cbb9dad44176e94146386db4c0afda4459f1d4eb929172b6d
+
Portable5d08b1415526934db8de780949a610896064fe9567aa0e5e1702ebabd7eb7df2