Discussões » Solicitações de Criação
Ho do I fix error
Script source, please.
// ==UserScript== // @name No more max limits or usernames in brutal.io // @namespace http://tampermonkey.net/ // @version 0.1 // @description Relax with a lot of words in your username // @author Jonas // @match ://brutal.io/ // @grant none // ==/UserScript==
function start() { var Work = document.getElementsByClassName('form-control input-nick')[0]; Work.getElementsByClassName("maxLength")[0].innerHTML = "∞"; setTimeout(start, 0); } start();
@Helloimjona said: // ==UserScript== // @name No more max limits or usernames in brutal.io // @namespace http://tampermonkey.net/ // @version 0.1 // @description Relax with a lot of words in your username // @author Jonas // @match ://brutal.io/ // @grant none // ==/UserScript==
function start() { var Work = document.getElementsByClassName('form-control input-nick')[0]; Work.getElementsByClassName("maxLength")[0].innerHTML = "∞"; setTimeout(start, 0); } start(); really sorry but i have no source. the posted code is giving an error
in theory should work:
function start () { var n=document.getElementById('nick'); if(n)n.removeAttribute('maxlength'); else setTimeout(start,0); } start ();
@Bogudan said: in theory should work:
function start () { var n=document.getElementById('nick'); if(n)n.removeAttribute('maxlength'); else setTimeout(start,0); } start ();but I want to change like this maxLength=∞
@Helloimjona said:
@Bogudan said: in theory should work:
function start () { var n=document.getElementById('nick'); if(n)n.removeAttribute('maxlength'); else setTimeout(start,0); } start ();but I want to change like this maxLength=∞
but it still helped to get an infinite amount of characters in the username
Ho do I fix error
recently. I thought that script form w3schools.com would work, but the script Work.getElementsByClassName("maxLength")[0].innerHTML = "∞"; was causing the error. Can someone fix? I wanted to make a script without changing the max Length element for brutal.io