block annoying ads from video hosting sites

CRACCKER

Newbie
Joined
Jun 20, 2022
Messages
12
Reaction score
1
Hi Guys, how do I prevent sites like streamtape, vidmoly, streamlare, fembed
from running their pop under ads in the video player on my site?
 
Adguard works great unlike others. If you see ads on any website, you can create an issue on their github and they will block it.
 
Adguard works great unlike others. If you see ads on any website, you can create an issue on their github and they will block it.
No, you misunderstood, it's not for me, I don't want the users who use my site to be exposed to ads while watching video on my site (not the ads I control, but the ads in the player)
 
No, you misunderstood, it's not for me, I don't want the users who use my site to be exposed to ads while watching video on my site (not the ads I control, but the ads in the player)

Oh I see, you are using iframes from 3rd party. Okay than you cannot block banners but there is a way to block pop ads. You can use sandbox attribute to block iframes opening any kind of new windows.

HTML:
<iframe sandbox="allow-forms allow-presentation allow-same-origin allow-scripts">

We didn't put "allow-popups, allow-top-navigation" options into sandbox settings so iframed content cannot change the top url and cannot open any popups.
 
Back
Top