From 20bf8fe38bf2f7a8a9f0d89357ed058342ed9857 Mon Sep 17 00:00:00 2001 From: GFLJS2100-user Date: Wed, 4 Dec 2024 20:53:24 +0800 Subject: [PATCH] Update bytebeat.mjs --- scripts/bytebeat.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bytebeat.mjs b/scripts/bytebeat.mjs index 972889a4..bd8a4a2a 100644 --- a/scripts/bytebeat.mjs +++ b/scripts/bytebeat.mjs @@ -840,7 +840,7 @@ globalThis.bytebeat = new class { this.setCounterValue(this.byteSample); } setCodeSize(value) { - this.controlCodeSize.textContent = `${this.formatBytes(new Blob([value]).size)} (${new Blob([String(this.formatBytes((window.location))])})`; + this.controlCodeSize.textContent = `${this.formatBytes(new Blob([value]).size)} (${this.formatBytes(String(window.location).length)})`; } setCounterValue(value) { this.controlTime.value = this.settings.isSeconds ?