FirePHP4Chrome icon indicating copy to clipboard operation
FirePHP4Chrome copied to clipboard

CORS error that prevents loading of google fonts with firephp enabled

Open Hissvard opened this issue 5 years ago • 1 comments

After updating to Chrome 76, I get the following error when loading pages using Google Fonts:

Access to font at 'https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc4.woff2' from origin '<origin here>' has been blocked by CORS policy: Request header field x-firephp-version is not allowed by Access-Control-Allow-Headers in preflight response.

Maybe we could avoid sending that header to google fonts specifically? I'm sadly ignorant about this error in particular, so maybe there's a more elegant way.

Hissvard avatar Aug 09 '19 13:08 Hissvard

Alright, hadn't noticed URLs could be disabled via options.

I see yellowpages.com is disabled by default per previous similar issue that was opened in this repo. It might be appropriate to add the *://fonts.gstatic.com/* as a default as well.

Hissvard avatar Aug 09 '19 13:08 Hissvard