From: Ardis Lu Date: Wed, 22 Feb 2023 05:28:26 +0000 (-0800) Subject: Replace comment placeholder with actual element X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=5b51c6ac83b6d04d450fe1128c1d2cbd7c41707a;p=static-encrypt Replace comment placeholder with actual element Some web hosts will auto-minify HTML and strip out comments --- diff --git a/index.html b/index.html index b7efecc..09c3525 100644 --- a/index.html +++ b/index.html @@ -209,7 +209,7 @@ document.querySelector('#download').addEventListener('click', e => { const encrypted = document.querySelector('#ciphertext').textContent; const scriptInjection = ` diff --git a/template.html b/template.html index 4ca08fa..182347c 100644 --- a/template.html +++ b/template.html @@ -24,7 +24,7 @@ - +
SCRIPT INJECTION