title: Adding a class to iframe body
body: <p>Can anyone please help with adding new call to iframe body I am using following code and getting this error in console:</p>
  
  <p>"Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "<a href="http://127.0.0.1:8080" rel="nofollow noreferrer">http://127.0.0.1:8080</a>" from accessing a cross-origin frame"</p>
  
  <pre><code>&lt;script src="https://code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  
  setTimeout(function(){
  var numItems = $('#bfpublish').length;
  
  // var $f = window.parent.frames['bfpublish'];
  var $c = $('#bfpublish').contents();
  $c.find('body').addClass("newClass");
  
  console.log(f);
  }, 6000);
  &lt;/script&gt;
  
  &lt;script type="text/javascript" src="https://birdeye.com/embed/v4/152208062848198/8/3585104729"&gt;&lt;/script&gt;&lt;div id="bf-revz-widget-3585104729" style="width: 9999px !important;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks</p>