diff --git a/index.html b/index.html index 9044f29..9c02b19 100644 --- a/index.html +++ b/index.html @@ -113,7 +113,7 @@ @@ -164,6 +164,13 @@ if (window.location.hash.includes("id=")) initDecryption(); }; + // This is a workaround for Firefox trying to be helpful. Most + // browsers clear content on reload, but Firefox does not. + async function reload() { + document.getElementById("text").value = ""; + window.location.reload(); + } + async function burnIt() { const text = document.getElementById("text").value; if (!text) return;