搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Hide a div if enhanced tracking protection prevets google ads

  • 无回复
  • 0 人有此问题
  • 5 次查看
more options

Hi,

This is more a developer question. In our webapplication, we would like to hide a
html tag that contains google adds in case the add is not displayed properly due to enhanced tracking protection.

For most chrome ad-blockers, we have this solution:

... google adds here

The ad-blocker in chrome will also remove this div above. Unfortunately, this is not working in firefox. The box (div) is still visible but empty, without adds. What is the best approach in fire-fox to do this?

Best regards, Claude Glauser

Hi, This is more a developer question. In our webapplication, we would like to hide a <div> html tag that contains google adds in case the add is not displayed properly due to enhanced tracking protection. For most chrome ad-blockers, we have this solution: <div id="div-gpt-ad-container"> ... google adds here </div> The ad-blocker in chrome will also remove this div above. Unfortunately, this is not working in firefox. The box (div) is still visible but empty, without adds. What is the best approach in fire-fox to do this? Best regards, Claude Glauser