From a25e64189e050bcde8408bef0628d792e10b8b67 Mon Sep 17 00:00:00 2001 From: MrFry Date: Fri, 10 Apr 2020 13:11:31 +0200 Subject: [PATCH] Set pw input type to text, to prevent autofills --- stable.user.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stable.user.js b/stable.user.js index 08fe24c..b2cf9a6 100755 --- a/stable.user.js +++ b/stable.user.js @@ -21,7 +21,7 @@ // ==UserScript== // @name Moodle/Elearning/KMOOC test help -// @version 2.0.1.2 +// @version 2.0.1.3 // @description Online Moodle/Elearning/KMOOC test help // @author MrFry // @match https://elearning.uni-obuda.hu/main/* @@ -1559,12 +1559,11 @@ const loginButton = document.createElement('button') loginButton.innerText = 'Login' const loginInput = document.createElement('input') - loginInput.type = 'password' + loginInput.type = 'text' loginInput.style.width = '400px' loginInput.style.textAlign = 'center' if (getVal('clientId') && getVal('clientId')[0] !== 0) { loginInput.value = getVal('clientId') || '' - loginInput.type = 'text' } loginDiv.appendChild(loginInput) loginDiv.appendChild(loginButton)