Well first off, You need a netgear router.I don't know what other routers it works on but you can try it. My Router is a netgear WGT624 v3. There is a simple way to block ads. The page also loads faster too!
Step 1: 192.168.1.1
Simply type in 192.168.1.1
-A window should pop up. Enter your password
-In the left menu, click on block sites.
*Make sure you have the "Keyword blocking" set to always.
In the blocked sites window, type each one of these websites into the keyword box and click enter. Do them one at a time.
At the bottom of the window, click apply, then in the left window, click logout. Most of the ads are blocked now. The router can not block flash ads though... I am still trying to get it to block them.