Greasy Fork is available in English.

Update Maxlength

updates maxlenghth to infinite

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         Update Maxlength
// @namespace    update mmaxlength
// @description updates maxlenghth to infinite
// @version      1.1
// @match         http://*/*
// @grant        none
// @license MIT
// ==/UserScript==
(function() {
  'use strict';
  
  // Get all input fields on the page
  var inputFields = document.querySelectorAll('input');
  
  // Loop through each input field and update the maxlength attribute
  inputFields.forEach(function(inputField) {
    inputField.setAttribute('maxlength', '99999999');
  });
})();