I've used this successfully for years.
https://github.com/StevenBlack/hosts
While not your traditional ad blocker done via browser extension, it does the job quite well and blocks the requests at the OS level.
I'm not the author or maintainer, just a very happy user.