title: YouTube Auto Comment?
body: <p>I have been trying to make something that automatically comments on a YouTube video. So far i have attempted thiswitch , Im new at scripting so plz forgive me.</p>
  
  <pre><code>enter code here
  // ==UserScript==
  // @name         YouTube auto chat
  // @namespace    http://tampermonkey.net/
  // @version      0.1
  // @description  Auto comments on all youtube videos you open
  // @author       BoBgames
  // @match        https://www.youtube.com
  // @grant        none
  // ==/UserScript==
  
  (function(comment) {
      'use strict';
  
      // Your code here...
      function partA(w) {
    window.setTimeout(partB,10000);
  }
  
  function partB() {
  }
      document.getElementById(".comment-simplebox-render-collapsed-content").click();
  
      $("comment-simplebox-render-collapsed-content").sendkeys('1234');
      $("comment-simplebox-render-collapsed-content").focus();
  })();
  </code></pre>
  
  <p>Im not sure im trying to call the right element or if im even doing this correctly.</p>