Installing adblock on an OpenWRT router

Are you tired of having to watch all of those noisy/animated adverts that seem to pop out of nowhere on some sites? Then get yourself a cheap router and install OpenWRT onto it, then upload this simple adblock script, to have a quieter web browsing experience. This setup also comes in handy when you also want adblocking on your phone or tablet.