Applying custom CSS is impossible when using CSP
I have a Content Security Policy (CSP) on my site, and loading custom CSS is impossible without enabling unsafe inline scripts due to
commento.js adding inline event listeners (
cssLoad(). The correct way to add event listeners is by using
addEventListener() instead, which would make Commento compatible with a CSP.
I also have an issue with the current method of overriding CSS, as it requires the
commento.css file to be downloaded first. I have a CDN to serve static assets, so I don't want the styles from my Commento server to be downloaded at all (rather, disable the
commento.css entirely or only load my custom styles instead).