From 04b5f114fade81e7f80c00863eaea6293c392470 Mon Sep 17 00:00:00 2001 From: Johannes Lange Date: Wed, 28 Dec 2022 13:45:25 +0100 Subject: [PATCH] using placeholder for a hint to enable JavaScript this is reset if JavaScript is active --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 68a4fce..d13661c 100644 --- a/index.html +++ b/index.html @@ -83,6 +83,8 @@ document.addEventListener('DOMContentLoaded', function(){ document.getElementById("plaintext").focus(); + document.getElementById("plaintext").placeholder = "Enter text here."; + if (matches = /(?:^|\;)invert\=([01])(?:\;|$)/.exec(document.cookie)) { if (matches[1] === '1') { document.body.classList.add("invert"); @@ -163,7 +165,7 @@ -
+