tinesoft/ngx-cookieconsent

Cookie-banner disabled by AdBlocker[Bug]

zewas-digital opened this issue · 1 comments

Ngx-CookieConsent Version

2.2.3

CookieConsent Version

3.1.1

Angular CLI (or Nx CLI) Version

11.2.13

Node Version

No response

OS Version

Mac OS

Expected Behaviour

The Cookie-banner should be displayed even when an Ad Blocker is enabled on this site.

Actual Behaviour

The Cookie-Banner is not enabled and not visible when the user has an active Ad Blocker on this site.

I use the AdBlocker Ultimate with Firefox on my Mac.
When i go to the DEMO-Site of ngx-cookieconsent:
https://tinesoft.github.io/ngx-cookieconsent/home

i dont see any cookie-banner because my Adblocker blocked it.

When i disable my AdBlocker it works and i can see the Cookie banner.

Why?

Steps to reproduce the behaviour

  1. Install Addon AdBlocker Ultimate on Firefox
  2. Go to https://tinesoft.github.io/ngx-cookieconsent/home
  3. Do you see a cookie banner?
  4. Disable the AdBlocker on this site
  5. Reload
  6. Now you see a cookie banner

Same issue here.

Plugin works fine on "clean" browsers without any plugins, but if I open my website in browser with adblock it is not showing.

I tested it on:

Safari (works)
Edge (works)
Brave (doesn't work due to default adblocks)