Detecting AdBlocking software?

前端 未结 10 1415
梦谈多话
梦谈多话 2020-12-13 01:10

I was recently visiting a site and noticed that the page had a section that said it noticed that I was using AdBlocking software and could I kindly turn it off to help suppo

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 01:56

    A few good answers here, so I'll just add this:

    use some ad management system (You can write Your own). With that, track every ad that's being displayed (and make it obvious, like ads.php or showad.php or whatever). If that script is never called, the user is using SOME form of ad blocking software.

    Be sure to handle each and every ad through that handler, though. Mod_Rewrite isn't required, it can be done using simple PHP.

提交回复
热议问题