MoneroVision
MoneroVision copied to clipboard
Logo does not show up on Firefox
Via: https://twitter.com/garypalmerjr/status/1016548421753298944
@garypalmerjr @MoneroVision Hello! NOTE: Your logo, on your site, is not visible via Firefox browser, FYI.

seems it's a bug with firefox and svg's in URI format https://bugzilla.mozilla.org/show_bug.cgi?id=1105145, open issue for it on w3c repo https://github.com/w3c/fxtf-drafts/issues/130
the only confusing thing is that everything works fine on localhost

Actually the problem is the content security policy (CSP). Disabling the CSP in firefox fixes the issue, just gotta figure out why this is a problem for the images.
You can test for yourself and disable the CSP by going to about:config
, searching for security.csp.enable
and disabling it.
The console in Firefox complains about issues with styling and the CSP:
Content Security Policy: The page’s settings blocked the loading of a resource at self (“style-src”).
Not yet sure what's the cause. The error messages aren't super helpful.
You could fix by simply changing the image format type.
On Jul 11, 2018, at 13:16, Danny Skubak [email protected] wrote:
The console in Firefox complains about issues with styling and the CSP:
Content Security Policy: The page’s settings blocked the loading of a resource at self (“style-src”). Not yet sure what's the cause. The error messages aren't super helpful.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Looks like this is a bug in Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=1262842