Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not always enough, sometimes you need some code simulating the "deny all" clicks or tweaking CSS class lists on the body and html elements.

Otherwise, you might end up with some unscrollable page because for instance there's a CSS rule that blocks scrolling when the modal is there and restores it when the modal closes and this handling is unfortunately done in JS.



Does uBO take care of this?


There are occasional breakages, but yes.

edit: documentation:

https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#...

https://github.com/gorhill/uBlock/wiki/Resources-Library#tru...

It's actually given in example:

> example.com##+js(trusted-click-element, button.reject-all)


Great, thanks for the information. I'm guessing uBO lite can't do this, but then again I doubt anything using manifest V3 could.


uBO lite actually can do this.


There's only two kinds of cookie banner lists for uBO: "reject all" or "I don't care about cookies", nothing in between.


I'm curious: what else would you like to have, and what could uBlock Origin would do better than actually using the cookie modal in this case?


hide the cookie modal and suppress the storage of cookies by origin-variable key combination




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: