That is the way, but there's no need to install an extension just for it. Just add the IDCAC filter list to uBlock Origin (uBO settings => Filter Lists => Import, at the very bottom):
Also on that same page you can enable some of the 'Annoyances' filters. Just be aware that some of them block social media buttons (FB/Twitter like/follow embeds), which you may not want.
Technically speaking, uBlock origin is not strictly an ad blocker. It is a general purpose content blocker; it will block whatever content is matched by its block lists; and it happens to ship with ad lists enabled by default.
Of course, practically speaking it doesn't just "happen" to block ads; that's a major motivation for its development, and so we usually just refer to it as an ad blocker.
To answer your question directly: if you want ads and no cookie popups, disable the ad lists and enable the cookie popup list.
Yes, at that point you may as well just install the other addon, but the uBlock method preserves a key advantage: the ability to combine multiple cookie popup block lists. This is useful in case several people are making lists that cover different corners of the internet.
Tangential question, but I would love to know if a group of people who prefer ads but not cookie warnings exist? Do they rank supporting the website above minor inconvenience of pop-ups and advertisements? That's gotta be a unicorn in terms of internet users.
I think that if I'm visiting a website and using its bandwidth, the website ought to get paid. If the ads are too egregious, then using the website isn't "worth the cost" and I go to a different website.
I do however pay for Scroll[1], and I use Firefox's Enhanced Tracking Protection. Due to the latter, many websites think I'm using an adblocker and complain, which really irks me.
You don't support the website by seeing ads. The only reason why anyone is paying for ads in the first place is because it affects the bottom line. So if you just see ads and don't buy the things they are pushing, the price that advertisers are willing to pay will decrease over time.
Only when you make a purchase based on an ad are you supporting anyone. At that point you should just buy the better product and support the website by sending them money instead of buying a shitty product that has advertising priced in.
Whitelist the good sites? Given that the vast majority of sites run garbage and/or intrusive ads, auto-playing videos, etc. and I don't really care about supporting most of them, a blacklist-first approach makes sense and I just whitelist the very few on which I'll accept ads.
Not sure why, but unfortunately using that list in uBlock Origin (latest Firefox 77) does not produce the same result as using the "I don't care about cookies" extension;
Example website for which blocking the cookie popup does not work with uBlock Origin: https://tweakers.net/
That's odd; it appears they are using a different cookie 'popup' depending on the browser/OS...?
I tested on Ubuntu and macOS with the latest Firefox (clean profile) and Chromium and i get the cookie popup/wall, even with ALL default uBO filter lists enabled, and also with the IDCAC list enabled in uBO. Screenshot: https://imgur.com/jcr4EuP
However i just tested with https://www.browserling.com/ which uses Windows 7/Internet Explorer 11 and here i do not see the 'cookie popup/wall' but instead i see a blue 'cookie banner' (which is easier to block with uBO.)
That's weird. I'm on Linux but enabled privacy.resistFingerprinting in about:config, which sets the user agent to a standard Windows one (same as Tor Browser iirc) and also brings over a bunch of other Tor Browser features. Only downside is it reduces timer precision which makes some games lag, so occasionally I have to turn it off for a bit.
That chrome extension has quite a memory footprint and seems to slow everything down... Haven't debugged, but my browsing sessions have been a lot less laggy since I disabled it...
That's the reason I disable it and install Ghostery instead. uBlock Origin makes youtube videos stutter at about the 2 second mark on my Raspberry Pi 3's (I don't know about the rpi 4's because I remove uBlock and install Ghostery as a default nowadays) and also my laptop, which runs Windows instead of Linux (so it's not just an OS issue.)
Ghostery doesn't have as many bells and whistles, but it does greatly minimize the main annoyances out there, and it doesn't slow anything down noticeably.
It might all be a moot point by this time, since Youtube has changed how they load in such a way that it stutters no matter what because it is so busy downloading absolutely every item on a page all at one time instead of prioritizing the video stream like it did about a decade ago (back when you could pause a video and it would download fully even while not yet playing, thus avoiding the bottlenecks altogether...).
Ironically that puts me back to pausing everything first just to give all the useless off-screen crap enough bandwidth to load without ruining the video experience.
No matter how much faster technology gets, they find a way to make it more and more sluggish every time.
The ads I get on Twitter are at least related to my interests, and sometimes are new things that are right up my alley (like new Rasbperry Pi gizmos, and that Turing Tumble game), so I don't even mind. They must have a lot of advertisers to be able to be that specific.
For the record, this section of Wikipedia seems pretty outdated. Ghostrank has been removed from Ghostery in 2017 after Cliqz acquired Ghostery and the extension was open-sourced.
> uBlock Origin makes youtube videos stutter at about the 2 second mark on my Raspberry Pi 3's
If uBO is really responsible for this, you should probably check the box "Ignore generic cosmetic filters" in "Filter lists" pane. For instance, this is the default in Firefox for Android, I consider it's best for less powerful devices.
I'm going to try that. It's definitely uBO because when I replaced it with Ghostery, the problem was gone. That's the same on all my pre-rpi4 devices and my laptop. If that fixes it, I'm surprised they don't just set it up that way by default in Raspbian.
But now it'll be hard to tell, because Youtube has changed the way it downloads stuff in the background without prioritizing the stream. uBO definitely blocked a whole lot more noise than Ghostery does.