我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Iframe中删除POP

When I put an Iframe in my website (contain video) when someone click on the Iframe that contain video a pop up ads show. How I can disable that or remove it and get a clean Iframe without pop up ads I have already try this How to block pop-up coming from iframe?

You can sandbox your iframe:

<iframe src="pageURL" sandbox="allow-forms allow-pointer-lock allow-same-origin allow-scripts allow-top-navigation"></iframe>

This does not include allow-popups which'll block popups.

近期文章

  • 在荷兰获得月份名称[重复]
  • 获得2个数字的百分比
  • TCPDF在mysql中保存页码
  • 在预准备语句中绑定参数
  • 使用Easy PHP2WSDL生成的PHP代码
  • 将JSON数据传递给d3.json时出错
  • 访问方法生成的PHP类属性
  • unserialize():偏移0处的错误为537字节
  • 在字符串中找到+ + 90 90+的加号“+”字符
  • Symfony FosUserBundle从我的默认模板扩展到另一个包
  • preg_replace()[function.preg-replace]:编译失败:偏移量为8的不匹配括号
  • 从我的数据库中检索登录详细信息并登录
  • 使用$ _POST验证html / PHP字段中的重复条目
  • 在PHP中为GLPI禁用span标记
  • 我需要在我的服务器上安装composer才能用laravel执行cron作业?
  • Laravel类别 - 子类别
  • codeigniter db中缺少值文件名
  • 如何在有限的时间后过期购物车
  • 如何使用PhpExcel生成日期格式?
  • 如何设置引导面板的大小?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华