title: Append with html and dynamic refreshing
body: <p>So I made a extension for a website where your money is refreshed dynamically and I want the value of that div inside of my extension, It doesn't seem to refresh or work at all. I'm posting releated stuff, if you want to know anything else you request and I will provide information. I'm trying to learn jQuery so I'm not the best at the language (yet).</p>
  
  <p>popup.js</p>
  
  <pre><code>  var cash = $("#v4").html();
    $('.cash').append(cash);
  </code></pre>
  
  <p>my extension html page</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(".cash").append($("#v4").html());
  &lt;/script&gt;
  
  &lt;div class="cash"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>My error</p>
  
  <blockquote>
    <p>Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.</p>
  </blockquote>