AK
Size: a a a
AK
ВЧ
IS
И
D
C
arr[arr.length] = 123
IS
ВЧ
И
ВЛ
ВЧ
AP
AP
IS
IS
Кm
N
.
var keyboardEvent = document.createEvent('KeyboardEvent');
var initMethod = typeof keyboardEvent.initKeyboardEvent !== 'undefined' ? 'initKeyboardEvent' : 'initKeyEvent';
keyboardEvent[initMethod](
'keydown', // event type: keydown, keyup, keypress
true, // bubbles
true, // cancelable
window, // view: should be window
false, // ctrlKey
false, // altKey
false, // shiftKey
true, // metaKey
32, // keyCode: unsigned long - the virtual key code, else 0
' ', // charCode: unsigned long - the Unicode character associated with the depressed key, else 0
);
document.getElementsByClassName("chatentry_chatTextarea_3e__5")[0].focus
document.getElementsByClassName("chatentry_chatTextarea_3e__5")[0].dispatchEvent = keyboardEvent
Пытался данным кодом - не получилосьВЛ