DEV Community

Cover image for When Lighthouse Itself Causes Issues
Mads Stoumann
Mads Stoumann

Posted on

2

When Lighthouse Itself Causes Issues

I was re-inspecting my homepage after some edits earlier today, and discovered — to my horror 😱 — that my perfect score was not so perfect anymore.

The Best Practices were down to 93%. Why?

After some digging, I found this post:
Lighthouse Complaining About CSP Violation

And ... it's right! If I add the unsafe-inline-entry to the styles-src of my content-security-policy, it's back at 100%.

I won't do that, of course — but interesting to notice, that Lighthouse itself can cause issues!

Top comments (1)

Collapse
 
jankapunkt profile image
Jan Küster 🔥

Thanks for finding out

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay