Ekool login fixer

should replace the username type with the type email so firefox recognizes it as a login field and autofills password

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name Ekool login fixer
// @name:et Ekool login fixer
// @version 1.2
// @match https://login.ekool.eu/*
// @match https://ekool.eu/*
// @match https://www.ekool.eu/*
// @description should replace the username type with the type email so firefox recognizes it as a login field and autofills password
// @description:et Teeb ekooli login lehekülje korda ja laseb firefoxil autofillil ka kasutajanime/emaili formi sisse toppida (loodetavasti)
// @namespace https://greatest.deepsurf.us/users/1035267
// @require      https://greatest.deepsurf.us/scripts/383527-wait-for-key-elements/code/Wait_for_key_elements.js
// @require https://code.jquery.com/jquery-3.5.1.min.js
// @grant GM_xmlhttpRequest
// ==/UserScript==

//should replace the username type with the type email so firefox recognizes it as a login field and autofills password
function replaceField()
{
  document.querySelectorAll('input[type=username]')[0].type = 'email';
}
alert("BRUH");
waitForKeyElements(".v-text-field__slot",replaceField);