Søg i 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

fonts block CORS

  • Ingen svar
  • 0 har dette problem
  • 1 visning
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. Note that it's perfectly working for the very same website on firefox iOS

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. Note that it's perfectly working for the very same website on firefox iOS Thanks !

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.