Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Hide a div if enhanced tracking protection prevets google ads

  • Няма отговори
  • 0 имат този проблем
  • 6 изгледи
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