You could create an extension, using this for an example. You can inject stuff into head by using PHP extenders, like this, but the correct way would be to create an extension for it, since this is not really a clean solution.
Thing is, anti-adblocks are bypassable, using anti ad-block killers.
If you want to secure funding, you should probably turn to a subscription based payment model, because currently there is no definitive way to prevent ad-blocking, while a developing a subscription plugin may earn you a bit more money if you decide to make it a premium extension, and it is not bypassable if done right.