diff --git a/data/scripts/main.js b/data/scripts/main.js index 46263491..7720d5e7 100644 --- a/data/scripts/main.js +++ b/data/scripts/main.js @@ -1009,3 +1009,18 @@ function importText(text, target) { } } + + + +var inputsToRemoveAutocorrect = document.querySelectorAll("input"); + +inputsToRemoveAutocorrect.forEach(input => { + input.setAttribute("autocomplete", "off") + input.setAttribute("autocorrect", "off") + input.setAttribute("autocapitalize", "off") + input.setAttribute("spellcheck", false) +}) + + + + diff --git a/data/site/other/life/life.js b/data/site/other/life/life.js index f2dd2bb4..8810ca5c 100644 --- a/data/site/other/life/life.js +++ b/data/site/other/life/life.js @@ -351,3 +351,12 @@ document.getElementById("mainGrid").addEventListener("touchstart", function() { doubleTouchStartTimestamp = now }) //Updated :D + +var inputsToRemoveAutocorrect = document.querySelectorAll("input"); + +inputsToRemoveAutocorrect.forEach(input => { + input.setAttribute("autocomplete", "off") + input.setAttribute("autocorrect", "off") + input.setAttribute("autocapitalize", "off") + input.setAttribute("spellcheck", false) + }) diff --git a/index.html b/index.html index 3e45dbcd..72c104d4 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@