Hacker News new | ask | show | jobs
by pyepye 2171 days ago
Before I found out about ublock origins filter lists I always wanted to opt-out of these GDPR cookie banners, modals etc but I got a lot of fatigue having to follow all the steps for each website.

I tried to make an open source extension to try and do it for me: https://github.com/pyepye/GDPR-opt-out

Although I hit a snag where some GDPR banners / buttons didn't return when using `querySelector` in the extension but do when you use the inspector / console and do it manually.

Does anyone know why and how to work around it? It was always something I wanted to know why but didn't find the time to dig into (and wasn't important while using ublock origin)