Thread Starter
JS
(@rucifa)
Hi,
I just found the problem is I enabled the adblock, then the icon will disappear.
But in https://join.chat/en/
I still could see it.
How can I do like that?
Thank you,
Thread Starter
JS
(@rucifa)
Hi,
I asked AdGuard technical support.
They replied me the message under below.
Annoyances filter is blocking it as it is designed to.
Plugin websites is using the function in different javascript file.
You use this path (that one is blocked):
/wp-content/plugins/creame-whatsapp-me/public/js/joinchat.
They give me some suggestions
Change the path or embed the code of the plugin into other JS files.
Or check via javascript if the element is available and show a message to user and ask him to disable adblocker if they want to use whatsapp chat.
I think “change the path or embed the code of the plugin into other JS files.” would be fine. But I don’t have idea how to do that
Plugin Author
Creame
(@creapuntome)
We have never been informed that an ad blocker was targeting Joinchat.
Thank you very much for the report. We’ll study how to solve it.
Plugin Author
Creame
(@creapuntome)
A simple solution to avoid blocking could be to use an optimization plugin like Autoptimize.
You can enable script minification so that your site will load the minified script from another path.
-
This reply was modified 2 years, 8 months ago by
Creame.
Thread Starter
JS
(@rucifa)
Hi,
Thank you for the reply.
It looks like working now.
But may break the layout(Because combine the CSS or Javascript might mess the layout)
Thanks anyway,
And also if I installed the plugin “WP Hide & Security Enhancer“
Then rewrite the plugin URL, it also worked.
Best regards,
Plugin Author
Creame
(@creapuntome)
Thaks for the tip. I’m going to mark this as resolved 👍