I was having troubles with the two calls. I've found infos here and fixed in this way:
string replace = "<script>\r\n\t\tfunction FixInputOnSubmit() {\r\n\t\t\tdocument.getElementById("fixInput").blur();\r\n\t\t\tevent.preventDefault();\r\n\t\t}\r\n\t</script>\r\n
\r\n\t\t<form onsubmit="FixInputOnSubmit()" autocomplete="off" style="width: 0px; height: 0px; position: absolute; top: -9999px;">\r\n\t\t\t<input type="text" id="fixInput" oninput="gameInstance.Module.asmLibraryArg._FixInputUpdate()" onblur="gameInstance.Module.asmLibraryArg._FixInputOnBlur()" style="font-size: 42px;">\r\n\t\t\r\n\t
\r\n\t<div class="webgl-content">";
<input type="text" id="fixInput" oninput="gameInstance.Module.asmLibraryArg._FixInputUpdate()" onblur="gameInstance.Module.asmLibraryArg._FixInputOnBlur()" style="font-size: 42px;">
I was having troubles with the two calls. I've found infos here and fixed in this way:
<input type="text" id="fixInput" oninput="gameInstance.Module.asmLibraryArg._FixInputUpdate()" onblur="gameInstance.Module.asmLibraryArg._FixInputOnBlur()" style="font-size: 42px;">