• Resolved Pat

    (@banjax)


    I like what this plugin does, but I think there’s an error (either on its part or mine). I got to my site (http://plarko.com) with ABP turned on. The plugin works perfectly. It places my substitute banners in place of the ads.

    When I re-visit with ABP turned off, but AdBlock turned on, the ads are gone and so are my placeholders.

    Does this plugin detect for AdBlock?

    https://wordpress.org/plugins/ad-blocking-detector/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    This plugin works with AdBlock. At least, it’s supposed to.

    I just visited your site with AdBlock, and only AdBlock, installed and enabled in the Chrome and Opera browsers, and everything appears to be working as intended.

    Opera Screenshot: http://1drv.ms/1yTjZSh
    Chrome Screenshot: http://1drv.ms/1yTk6gW

    Which web browser(s) and operating system(s) shows these symptoms for you?

    Also, can you send me the contents of your JavaScript console when you visit your site with AdBlock enabled and this plugin not working appropriately.

    The JavaScript console is also known as Console, Web Console, and Developer Console in various browsers, and can be found inside the developer tools areas of your browser menu.

    Specifically, I’m looking for a block of text that looks something like this (yours may be a bit different):

    ABD Detector:: iframe removal detected! (Detection Method: iframe css changed to hidden - frame.css('visibility') === 'hidden' || frame.css('display') === 'none')
    ABD Detector:: No div removal detected
    ABD Detector:: js removal detected! (Detection Method: Bait javascript file prevented from loading and execution!)

    You can take a screenshot and post a link to it here, or simply copy and paste it like I did above.

    This will help me track down the problem since I seem to be unable to replicate it.

    Thanks, and I’m sorry you’re having issues with this plugin!

    F.Y.I. I haven’t received any feedback in a while, so I’m going to mark this issue as resolved. I hope everything is working for you!

    However, if the problem remains or reasserts itself, don’t hesitate to respond to my previous post. I will reopen this topic if necessary.

    Hi John,

    I have a issue with the pluging. A week ago, It was working without prob but since the code [adblockingdetector id=”…”] appears instead of displaying the anti-adblock Message.

    Hi Taturo_blast,

    I’m guessing, based on how they work, that the shortcode text appears regardless of whether ad blockers are enabled or not. If I’m wrong about this, let me know because that is very strange behavior and should not be able to happen.

    Assuming my guess was correct, and based on the information you provided, I have a few ideas as to what it may be or how to help trace the problem. I’ve listed them roughly in the order I’d try them (based on simplicity and likelihood of solving the problem).

    1.) Can you verify that the shortcode exists in the list in the Ad Blocking section of your WordPress admin, and perhaps recopy the shortcode into your location. This is to make sure the shortcode wasn’t erased or altered somehow.

    2.) Is the ad located in a sidebar text widget? If so, it is possible a theme update or another plugin may have undone the enable shortcode in text widget trick I have linked all over the place. You may need to re-add the

    add_filter('widget_text', 'do_shortcode');

    to your functions.php file.

    Adding a dedicated widget is on my to-do list and they won’t have this problem.

    3.) Try deactivating (not deleting) and reactivating the plugin. This should not delete any of your settings or shortcodes. But it will cause the plugin to reassert itself in the eyes of WordPress and occasionally solves problems.

    4.) If none of the above fixes the problem, can you show me the output in the JavaScript console I discussed in an earlier post in this thread (instructions re-included below).

    ———————————————-
    JavaScript Console Instructions

    The JavaScript console is also known as Console, Web Console, and Developer Console in various browsers, and can be found inside the developer tools areas of your browser menu.

    Specifically, I’m looking for a block of text that looks something like this (yours may be a bit different):

    ABD Detector:: iframe removal detected! (Detection Method: iframe css changed to hidden - frame.css('visibility') === 'hidden' || frame.css('display') === 'none')
    ABD Detector:: No div removal detected
    ABD Detector:: js removal detected! (Detection Method: Bait javascript file prevented from loading and execution!)
    You can take a screenshot and post a link to it here, or simply copy and paste it like I did above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin works with ABP, but not AdBlock’ is closed to new replies.