title: Refused to execute JavaScript URL because it violates the following Content Security Policy directive:
body: <p>Before posting I read the posts relating to the title and I'm sure there's a solution to my problem but I'm such a n00b with Extensions, JavaScript, and JQuery I can't tell...</p>
  
  <p>The code that's causing the Refused is:</p>
  
  <pre><code>innerframe = $("&lt;iframe/&gt;").css({
      top: WIDGET_TITLE_HEIGHT + "px",
      left: "0px",
      width: "100%",
      height: "1000px",
      border: "none",
      align: "center",
      display: "block"})
  .appendTo(innerdiv)
  .load(function() {
      onStart()
  })
  .attr({
      frameBorder: 0,
      //scrolling:0,
      src: 'javascript:(function(){document.open();document.domain="' + document.domain + '";document.write(\' &lt;!DOCTYPE html&gt;' + '\');document.close();})();'
  })[0];
  </code></pre>
  
  <p>The line src: 'javascript....' is the offender but I don't know what the solution is.</p>
  
  <p>The posts I've read make it clear the code is violating Chrome's CSP and I've seen mention of message passing, sandboxing, etc.</p>
  
  <p>I'm hoping someone can provide a solution and help me understand what's going on.</p>
  
  <p>Thanks in advance!</p>