# AdBlock Detect Trigger

Original URL: https://www.fireplugins.com/docs/triggers/adblock-detect/
Last updated: 2025-07-24T16:01:38+03:00

The “AdBlock Detect” Trigger fires when the visitor has been detected using an AdBlocker. Below you can find how to set up a popup with the “AdBlock Detect” trigger, all supported settings for this trigger explained as well as how to trigger it with the JavaScript Events API.

 ## How to create a adblock detect popup in WordPress

 To set up your popup to trigger when an adblock is detected on the visitors browser, go to your campaign settings > Format Panel > Trigger and select “AdBlock Detect”.

  ## Use Cases

 ### Open popup when user hovers on any element on your page

 A use case would be when your site depends on ad revenue and you want your users to support your site and your quality content by disabling their adblocker.

 ## Frequently Asked Questions

 ### How to Trigger using Javascript

 Using the Javascript Events API, you can configure any popup to be triggered using the “on AdBlock Detect” Trigger. Below you can find a Javascript snippet:

 ```
FireBox.onReady(function() {
    // Get box instance
    const box = FireBox.getInstance(5);

    box.bindTrigger('onAdBlockDetect');
});
```

 You can read more on the Javascript Events API documentation, [on AdBlock Detect Trigger](https://www.fireplugins.com/docs/firebox/extending/firebox-javascript-api/#onAdBlockDetect).
