MoneroVision icon indicating copy to clipboard operation
MoneroVision copied to clipboard

Logo does not show up on Firefox

Open jspence425 opened this issue 6 years ago • 6 comments

Via: https://twitter.com/garypalmerjr/status/1016548421753298944

@garypalmerjr @MoneroVision Hello! NOTE: Your logo, on your site, is not visible via Firefox browser, FYI.

screen shot 2018-07-11 at 1 39 31 pm

jspence425 avatar Jul 10 '18 19:07 jspence425

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

james-prado avatar Jul 11 '18 12:07 james-prado

the only confusing thing is that everything works fine on localhost

screen shot 2018-07-11 at 1 57 21 pm

james-prado avatar Jul 11 '18 12:07 james-prado

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.

james-prado avatar Jul 11 '18 13:07 james-prado

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.

skubakdj avatar Jul 11 '18 17:07 skubakdj

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.

garypalmerjr avatar Jul 11 '18 17:07 garypalmerjr

Looks like this is a bug in Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=1262842

skubakdj avatar Jul 12 '18 23:07 skubakdj