Last version of theme add a harmful js from FB

Posted in: Newspaper
Post count: 460

Hello,

I’ve been working on the theme optimization for several days, I was using the previous version to the current one.

I got a perfect time and a very good score, as you can see here:

Today I updated the theme to the current version. And I have detected a js that harms the theme a lot, the score goes down a lot.

This is the JS details:

Is a Facebook static external js, included in the theme.
How can I fix it?

In the previous version there was no such problem, in the current if. Is there anything I can do, or should I return to the previous version?

Cheers

Post count: 460
Post count: 23312

Hello Jose,

This problem seems to come from your Facebook Like Button. Please disable it from Theme panel, clear all the caches and check the results.

Hope this helps and let us know how it goes!

Thanks for the message!

Post count: 460

Hello @Catalin,

Thanks for your help 🙂

I deactivated the button and everything seems to be working fine 🙂 The problem was the “like” button on facebook.

However, this is just a curiosity, I use the previous theme version on another page, and this error does not appear, even if the button is active.

This is just a note, in case you want to investigate it. For me, actually, it is not a problem to remove that button.

Web with previous version and button activated (does not give this problem): https://bit.ly/2DMEHyl

Cheers, Jose

Post count: 35449

Hi,

We have inspect this website to and the coed is there https://www.screencast.com/t/lEpUfMu2w maybe there was a conflict of plugins, or a cache

Thank you for your understanding.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.