From 7b808bb821c43f18bcb7d7a5d64d0e2e9017fc89 Mon Sep 17 00:00:00 2001 From: wearrrrr Date: Thu, 28 Mar 2024 10:33:14 -0500 Subject: [PATCH] Change iframe.src to Loading... in the topbar. --- src/components/ProxyRegistrar.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ProxyRegistrar.astro b/src/components/ProxyRegistrar.astro index e9f6d3d..2d27b11 100644 --- a/src/components/ProxyRegistrar.astro +++ b/src/components/ProxyRegistrar.astro @@ -216,7 +216,7 @@ function updateTopbarTitle(iframe) { let topbarTitle = document.getElementById("url-text"); if (iframe.contentDocument.title == "") { - topbarTitle.innerText = iframe.src; + topbarTitle.innerText = "Loading..."; } else { if (iframe.contentDocument.title.length > 65) { topbarTitle.innerText = iframe.contentDocument.title.slice(0, 65) + "...";