title: loop message in facebook
body: <p>I am using inspect element console on facebook.com and I am sending messages through this javascript script :</p>
  
  <pre><code>var o = document.getElementsByClassName("uiTextareaAutogrow _552m");
  
  // set the chat textbox
  var chatTextBox = o[0];
  
  // set the message value
  chatTextBox.value = "Hello";
  
  // create a keydown event    
  var e = new Event("keydown");
  
  // it has to simulate the Enter press (key code is 13)
  e.keyCode = 13;
  
  // trigger it
  chatTextBox.dispatchEvent(e);
  </code></pre>
  
  <p>this script sends 1 normal message. Is there any way to create a loop of messages to send them many times?</p>