php - Detecting AdBlocking software? -


I recently went to see that in one section of the page it was said that I have found that I use the adblocking software I am doing and I please turn it off to help support a small site like this I was thinking how would you do this? Would it be best for client-side or server-side?

It's something that just can not be done on the server side - knocking at your door For the person is the reason for the district and say "I see, I have an AdblockPolls!" At the client side, adblock is actively trying to influence the contents of the page, which is something you can see and see that they are using an adblock.

Still, I came to know that newgrounds.com is also doing this (their new layout was spoiled for more users than Adblock - as a response they would be the best "if you We are not going to help us through our advertisements, so go buy some in the shop. "- Banner.

A quick look at the source of the new plots told me that they do this with some simple javascript Are there In the document:

var user_is_leecher = true;

Next is an external script tag: src = checkabp? Thisistotrickabp = *** ad Finding affilliate *** ***

Now jokes: they just adblock trust plus to filter that script, as it is in: user_is_leecher = false; < / Code>

From there, they can do anything.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -