How to write a script determines whether the user adlock?

Hi all. Who knows if it is possible to write a script determines whether the user has adblock on php? If possible then how?
If php can not it means that it is possible using javascript, but js I'm not cuckoo, so is there a ready script? Or any kind of article, if any.
Thanks in advance.
June 14th 19 at 20:48
3 answers
June 14th 19 at 20:50
There have been many questions on this topic. Google searched easily. You can only validate using JS.

The first example from Google
June 14th 19 at 20:52
As far as I remember you need to create a block with klasskom which is only popular ads, and after loading the page to see Il this unit , if there is no means of Adblock on the page, and if there is no way it will be 0 pixels in height or kranik it can be easy to hide.
June 14th 19 at 20:54
Never write and not to use such scripts: spam only in the furnace.

Find more questions by tags JavaScript