3 ms·
uBlock Origin's cookie banner lists do this.
by jraph 1y ago
uBlock Origin's cookie banner lists do this.
- baggachipz 1y agoAh, yeah, I suppose just blocking the domains of those cookie services would take care of it.
- jraph 1y agoThat'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.
- baggachipz 1y agoDoes uBO take care of this?
- jraph 1y agoThere are occasional breakages, but yes. edit: documentation: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#scriptlet-injection https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#... https://github.com/gorhill/uBlock/wiki/Resources-Library#trusted-click-elementjs- https://github.com/gorhill/uBlock/wiki/Resources-Library#tru... It's actually given in example: > example.com##+js(trusted-click-element, button.reject-all)
- baggachipz 1y agoGreat, thanks for the information. I'm guessing uBO lite can't do this, but then again I doubt anything using manifest V3 could.
- anticensor 1y agouBO lite actually can do this.
- anticensor 1y agoThere's only two kinds of cookie banner lists for uBO: "reject all" or "I don't care about cookies", nothing in between.
- jraph 1y agoI'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?
- anticensor 1y agohide the cookie modal and suppress the storage of cookies by origin-variable key combination