←back to thread

582 points SweetSoftPillow | 8 comments | | HN request time: 0s | source | bottom
1. baggachipz ◴[] No.45668535[source]
Since there are a handful (maybe dozens) of companies who implement this popup feature as a service (e.g. CookieYes), a browser plugin to automate the "no to all" could be handy. That is, the plugin would know the provider and navigate the labyrinth of settings to disable all of them.
replies(2): >>45668601 #>>45668606 #
2. jmbwell ◴[] No.45668601[source]
And then a handful of companies can offer a service to let advertisers punch through the plugins. And then another plugin could block that!

Thing is you’re probably right. The modern web is made of middlemen inserting themselves into user experiences to divert and extract revenue from the primary stream between consumer and producer. There’s always room for another layer.

3. jraph ◴[] No.45668606[source]
uBlock Origin's cookie banner lists do this.
replies(1): >>45668628 #
4. baggachipz ◴[] No.45668628[source]
Ah, yeah, I suppose just blocking the domains of those cookie services would take care of it.
replies(1): >>45668666 #
5. jraph ◴[] No.45668666{3}[source]
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.

replies(1): >>45669161 #
6. baggachipz ◴[] No.45669161{4}[source]
Does uBO take care of this?
replies(1): >>45669179 #
7. jraph ◴[] No.45669179{5}[source]
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)

replies(1): >>45669478 #
8. baggachipz ◴[] No.45669478{6}[source]
Great, thanks for the information. I'm guessing uBO lite can't do this, but then again I doubt anything using manifest V3 could.