Conroyp.com Technically speaking

13Dec/102

Programmatically Detecting AdBlock Plus

One issue that comes up time and again when working on classified sites such as Daft.ie and Adverts.ie is the inadvertent blocking of site functionality by the AdBlock Plus extension. As so many parts of classified sites will logically have phrases like "ad" in the url, legitimate site content and features can be blocked inadvertently under the mistaken assumption that they're banner ads or the like.

So is there a way to detect whether a user has AdBlock Plus installed and change the output accordingly?