Fontawesome + Chrome extension - fa-solid-900.woff2 not loading
Sonfoa..
Ok, all my pain in life is caused by serving up a local file. The setup is all fine, it's just that it doesn't like serving resources for file:///...
or anything of the sort. I was using a local test page (test.html).
Slap up the test page in local IIS so that it's being served like a normal web site, put in a URL match for http://localhost:*/*
and it works just fine.
Font Awesome no longer working on browser Extension
After thinking about the answer I have discovered the solution. I logged into my Fontawesome account and grabbed the CDN version of the CSS link. This now works with no issue.
I also added it to my manifest.json in the content_security_policy
area.
How to use @font-face on a Chrome Extension in a Content Script
Here is how to get local path in css:
body {
background-image:url('chrome-extension://__MSG_@@extension_id__/background.png');
}
More about it here.
Does Google Chrome have a problem with Font-Awesome Icons. Does it not support it?
I'm not an expert but maybe look up the icons again on Font Awesome and check if they maybe changed the class names and if so update it, same goes for the CDN link
Related Topics
How to Fade-Out the End of a Text Line in CSS
What's the Difference Between a Block-Level Box and a Principal Block-Level Box
Font-Feature-Settings: What Is the Correct Syntax
Css3 Box Shadow on Top, Left, and Right Only
Angular 2 Animation VS CSS Animation - When to Use What
Offset Scroll Anchor in HTML with Bootstrap 4 Fixed Navbar
Svg "Fill: Url(#....)" Behaving Strangely in Firefox
Jerky CSS Transform Transition in Chrome
Pure CSS Solution - Square Elements
How to Reset Default Button Style in Firefox 4 +
CSS - Circle with Margin on Border
@Font Face Choppy Font in Chrome
Using '-Webkit-Overflow-Scrolling: Touch' Hides Content While Scrolling/Dragging
How to Override the Minimum-Font-Size in Firefox
What This CSS Code Means (Font-Size Division)
Safari Ignoring CSS Max-Width Media Queries Below a Certain Point