AdGuard make website visual fail

rucifa

New Member
Hi,
I have build a website by WordPress and install several plugins for some specific function.
One is WhatsApp function that the customer can contact me.

And I found something weird that the plugin didn't work.
Finally, I found AdGuard may guard it then the function don't work.
I know not everyone install AdGuard(or Adblock) for browse the webpage.

I just wondering why the WordPress plugin author's webpage don't block it.
Why? How could they do it?

The WordPress plugin author's webpage

Here is my webpage

Please check
 

Attachments

Blaz

Moderator & Translator
Staff member
Moderator
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.
 

Blaz

Moderator & Translator
Staff member
Moderator
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.
 

rucifa

New Member
Looks like change the path or embed the code of the plugin into other JS files will be good.
I'll think how to do that.

Thank you very much!!
 

rucifa

New Member
Hi,

I know it not your work, but I have no idea how to change the path or embed the code of the plugin into other JS files .
Is there any hint to do that?

Thank you,
 

Blaz

Moderator & Translator
Staff member
Moderator
Open JS file containing the code, copy content and paste into other JS file and save.
 
Top