I'm sure you can find an existing script to detect adblockers and display messages in place of ads. I haven't looked extensively into it, but this site should have something similar to what you need.