Quote (hming @ Dec 23 2017 06:47am)
There's the Pi-Hole project (google it), completely open source and it'll block ads on *all* devices connected to your LAN. (yes, includes phones/tablets)
But it only blocks domains, so yes it will block ad-networks etc but will not block ads that sites supply themselves, floating bullshit, running away close buttons etc. You won't be able to block cookie notices either.
That said, it's best to combine both