Under EU law in force since May 2011, people must give their consent before an anti-ad-blocker script can run and hide content on a page.