I am developing a Google Chrome extension that appears on a specific website. And I want to use Fontawesome in my chrome extension. When I try to download fonts, an error has occurred GET chrome-extension://invalid/ net::ERR_FAILED.
In the stylesheet, webfonts are included with the @font-facefollowing.
src: url('chrome-extension://__MSG_@@extension_id__/Fonts/fontawesome-webfont.eot?v=4.7.0');
I also tried to embed my internal identifier directly, although it does not work.
My manifest. json:
"web_accessible_resources": ["Fonts/*.*", "*.ttf", "*.eot", "*.svg", "*.woff", "*.woff2"],
How to solve this?
source
share