From 97fc31f7b48393e4eca14f7d7127804f5c0a94cf Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 20 Aug 2023 20:37:03 -0700 Subject: [PATCH] Show interface ID in output instead of console --- index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1687656..d9e590c 100644 --- a/index.html +++ b/index.html @@ -52,6 +52,10 @@ button { padding: 4px 8px; } + + output:empty::after { + content: '—'; + } @@ -67,7 +71,8 @@ - + + @@ -96,7 +101,7 @@ } const xorHash = `0x${[...xor].map(b => b.toString(16).padStart(2, '0')).join('')}`; - console.log(xorHash); + e.target.elements['output'].textContent = xorHash; }); -- 2.47.3