Hello,
ad blocking detection is a very difficut task and is never 100%. It is like a cat-and-mouse game. As soon you implement something to avoid detection, ad blockers get updated to detect what you did.
Ad blocking detection uses JavaScript code to check presence of some elements that are blocked by most ad blockers. However, ad blockers can block that code so this is an endless game.
In order for ad blocking detection to work you need to have error free pages. Currently there is an error, very likely caused by too aggressive optimization:
Uncaught TypeError: Cannot read properties of undefined (reading 'doAction')
https://astro.qc.ca/wp-content/cache/wpo-minify/1693614676/assets/wpo-minify-header-463b22cc.min.js
I would suggest to disable JavaScript code optimization first to get rid of this error.
Then you need to enable remote debugging and describe how you tested – ad blocker and page used for the test.
I deactivated the javascript optimization.
The remote debugging is activated.
Tried in Edge, Safari and Firefox, it is always the same thing. The adblocking feature does not work. When
When I activate the adblocking status : Horoscopes – Centre astrologique Michèle Perras it does recognize when the adblocker is inactive but when it is active it is unknown. Therefore the popup message doesn’t appear.
There are still JavaScript errors:
Uncaught TypeError: Cannot read properties of undefined (reading 'doAction')
at general.min.js?ver=5.8.7:1:7417
https://astro.qc.ca/wp-content/plugins/essential-addons-for-elementor-lite/assets/front-end/js/view/general.min.js?ver=5.8.7
It seems it is caused by essential-addons-for-elementor-lite plugin.
Please check the console in the browser for details.