Bonk input field fix

Removes unnecessary password autofills

נכון ליום 09-01-2022. ראה הגרסה האחרונה.

// ==UserScript==
// @name         Bonk input field fix
// @version      1.1
// @author       Salama
// @description  Removes unnecessary password autofills
// @match        https://bonk.io/gameframe-release.html
// @run-at       document-start
// @grant        none
// @supportURL   https://discord.gg/Dj6usq7ww3
// @namespace https://greatest.deepsurf.us/users/824888
// ==/UserScript==

[...document.querySelectorAll("input[type=text]")].forEach(e => {
	if(!e.classList.contains("loginwindow_field")) {
        e.type="salama";
            e.readonly = true;
            e.addEventListener("onclick", x => {
                e.readonly = false;
            });
	}
});

console.log("Unnecessary password autofills removed");