Remove Name limit

it doesnt remove it it just sets it to 120 since its does an error if its over that

// ==UserScript==
// @name         Remove Name limit
// @namespace    http://tampermonkey.net/
// @version      3
// @description  it doesnt remove it it just sets it to 120 since its does an error if its over that
// @author       You
// @match        https://*.blooket.com/*
// @icon         https://res.cloudinary.com/blooket/image/upload/v1613003832/Blooks/redAstronaut.svg
// @grant        none
// @license      MIT
// ==/UserScript==

window.onload = function() {
  var e = document.createElement("iframe");
  document.body.append(e);
  window.alert = e.contentWindow.alert.bind(window);
  e.remove();
  var inputField = document.querySelector('input[class*="nameInput"]');
  if (inputField.maxLength === 120) {
    return;
  }
  inputField.maxLength = 120;
};