Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate recaptcha.js in Lighthouse treemap #16074

Open
DimiRot opened this issue Jun 14, 2024 · 4 comments
Open

Duplicate recaptcha.js in Lighthouse treemap #16074

DimiRot opened this issue Jun 14, 2024 · 4 comments
Assignees

Comments

@DimiRot
Copy link

DimiRot commented Jun 14, 2024

Hi,
We've been trying to increase a websites score in Insights and checking the Lighthouse Treemap, we saw the https://www.gstatic.com/recaptcha/releases/.../recaptcha__en.js script loads twice.
Checking the website code, we didn't find multiple instances of the script loading. It's just the <script> and an iframe.

However, when we run Lighthouse from the DevTools, I see just one instance of the recpatcha script loading.

Now, we are wondering, is it some kind of Lighthouse bug? Is it some setting of our websitre? How can we fix it?

Thank you in advance.

@connorjclark
Copy link
Collaborator

Can you give us the lighthouse report?

@DimiRot
Copy link
Author

DimiRot commented Jun 14, 2024

Hi,
I'm attaching a screenshot of lighthouse.
lighthouse_shot

Also, the recaptcha_en.js is not running on the website. It's the recaptcha_el.js that is running.

I appologise if I have misunderstood something, but Page Speed and lighthouse really confuse me.

@connorjclark
Copy link
Collaborator

connorjclark commented Jun 14, 2024

We need a url and the lighthouse json. Images are not sufficient

@DimiRot
Copy link
Author

DimiRot commented Jun 17, 2024

Oh sorry, I didn't know.
The site url is https://just4pets.gr/ and I have attached the json.
just4pets.gr-20240617T093356.json

I find it odd that the reports from Page Speed Insights and LiDevTools Lighthouse are so different. The json I'm attaching is from the Lighthouse tool, while the duplicated reCaptcha js is visible only when testing in the Page Sped Insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants