Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CORS requests blocked fonts thus not displaying texts/icons correctly

  • No replies
  • 0 have this problem
  • 7 views
more options

Hello,

I've been using firefox for a while. A few versions ago (I don't remember the correct version), I started noticing some sites have broken font (defaulting the base font as used font is not available) and/or icons not being displayed.

I started investigating my extensions (I'm using ublock origin) and standard protection from firefox. Inside the console and found out that fonts (in my example at least) are being block by CORS policy.

E.g: "Blocking of a cross-origin request: the "Same Origin" policy does not allow viewing the remote resource located at https://fonts.gstatic.com/s/materialicons/v135/flUhRq6tzZclQEJ-Vdg-IuiaDsNc .woff2. Reason: CORS request failed. Status code: (null)." on website "https://materializecss.com/"

That is not breaking the browser but is kinda annoying. How can I do to allow fonts to be downloaded and used ? I've checked with other browsers (chrome/chrome-like/safari) and they work as excepected.

Thanks !

Hello, I've been using firefox for a while. A few versions ago (I don't remember the correct version), I started noticing some sites have broken font (defaulting the base font as used font is not available) and/or icons not being displayed. I started investigating my extensions (I'm using ublock origin) and standard protection from firefox. Inside the console and found out that fonts (in my example at least) are being block by CORS policy. E.g: "Blocking of a cross-origin request: the "Same Origin" policy does not allow viewing the remote resource located at https://fonts.gstatic.com/s/materialicons/v135/flUhRq6tzZclQEJ-Vdg-IuiaDsNc .woff2. Reason: CORS request failed. Status code: (null)." on website "https://materializecss.com/" That is not breaking the browser but is kinda annoying. How can I do to allow fonts to be downloaded and used ? I've checked with other browsers (chrome/chrome-like/safari) and they work as excepected. Thanks !
Attached screenshots