DEV Community

Bayu Angora
Bayu Angora

Posted on

Downgrade About Dark Mode And Content Security Policy

Observatory (grade checker by Mozilla) will downgrade score if website still use inline style or script.

How to fix this issue while dark mode toggle needs "onclick" to trigger and switch the light / dark mode?

Top comments (0)