title: The userscript I made partially works. Any fix?
body: <p>I'm making a userscript to remove the ads off the homepage of <a href="https://kissanime.ru/" rel="nofollow noreferrer" title="I know an adblocker could solve my problem, but I&#39;m making this script for practice">Kissanime</a></p>
  
  <p>The anime site already gives you a button to hide the ads, but I just want to remove the button, but it doesn't work. Here is my code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>// ==UserScript==
  // @name         Kissanime Tool
  // @namespace    http://tampermonkey.net/
  // @version      0.1
  // @description  Kissanime Tool
  // @author       Joe Hill
  // @match        *://kissanime.ru/
  // @grant        none
  // @require https://code.jquery.com/jquery-3.3.1.min.js
  // ==/UserScript==
  
  (function() {
      'use strict';
  
      // The code below is an example of the working code
      $("#keyword").attr("value", "The script wrote here");
      //The code below doesn't work
      $(".divCloseBut").remove();
  })();</code></pre>
  </div>
  </div>
  </p>
  
  <p>I'm not really sure why this doesn't work.</p>