How to Blocked or disable pop-ads inside iframe?

User avatar
Posts: 38
Joined: Mon Jan 30, 2017 4:58 am

How to Blocked or disable pop-ads inside iframe?

Sat Oct 27, 2018 5:42 am

When watching videos inside iframe in your personal website or wordpress theme,.. sometimes its annoying that when you click the video ... the page inside the iframe pop up some ads or open a new window of unwanted site. below is the easiest way to disable those.
<div class="resp-container"><iframe class="resp-iframe" src="//" frameborder="0" allowfullscreen="allowfullscreen" sandbox="allow-same-origin allow-scripts"></iframe></div>
Add this inside the iframe:

Code: Select all

sandbox="allow-same-origin allow-scripts"



In total there are 5 users online :: 0 registered, 0 hidden and 5 guests
Registered users: No registered users
Most users ever online was 156 on Sun Jun 17, 2018 7:42 am
Total posts 449
Total topics 328
Total members 62
Our newest member anonymous-kali
No birthdays today