title: Blocking pop-up ads or any other ads from popping out in iframe
body: <p>I have tried to block pop-ads by using:</p>
  
  <pre><code>&lt;div class="iframe"&gt;
     &lt;iframe sandbox = "allow-forms allow-pointer-lock allow-same-origin allow-scripts allow-top-navigation" src="https://www.youtube.com/embed/testing" &gt;&lt;/iframe&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>It used to work but now they detect it and they will disable their videos from playing and in console it will throw an error:</p>
  
  <blockquote>
    <p>Blocked opening 'URL' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.</p>
  </blockquote>
  
  <p>Is there any other way to fix this?</p>