tinesoft / ngx-cookieconsent

Cookie :cookie: Consent module for Angular.
https://tinesoft.github.io/ngx-cookieconsent/
MIT License
161 stars 34 forks source link

Cookie-banner disabled by AdBlocker[Bug] #136

Open zewas-digital opened 9 months ago

zewas-digital commented 9 months ago

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
hvma411 commented 4 months ago

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)