Ad-blocking extensions are great for individual browsers but leave out other devices and applications. Set up a router-level filter to block ads for every device on your home network.
Photo by Rusty Haskell.
Sysadmin Geek — the admin-focused branch of How-To Geek — shares a very thorough guide to setting up Pixelserv on DD-WRT modified routers. Essentially the hack revolves around installing Pixelserv (an ultra-minimal web server) on your router and using that micro-server to poison the DNS requests sent to known ad-serving sites. The end result is that ads of all shapes (banner ads, popover ads, video ads) simply fail to load. Unlike a traditional browser-based ad blocker, however, this advertisement white-out extends across your whole network and every device on it.
Check out the full guide at the link below for step-by-step instructions. You'll want to read them carefully and follow along closely; screwing up the configuration means everything gets blocked, just not the ads.
How To Remove Advertisements with Pixelserv on DD-WRT [Sysadmin Geek]