I embeded an iframe on a page and I blocked some features(the pop-up ads) from loading with the sandbox option. I've managed to remove the ads from the iframe just by using the sandbox option. Is there any other way to remove the ads like adblock does, but with code?
What I have tried:
Somehow I managed to remove the ads by using a certain combination of sandbox's options, but it works on all browsers except Google Chrome (desktop version).
I want to know if it's possible to remove the ads in another way.
Code example:
<iframe src="https://openload.co/embed/K_KIUHM9_nI/" sandboxscrolling="no" frameborder="0" width="700" height="430" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" sandbox="allow-scripts"></iframe>