I am using a content script to embed some HTML in a web page. I am trying to use google font, CabinCondensed-Regular and a number of icon fonts derived from IcoMoon. I downloaded the files and included them in CSS using @font-face, because from what I can say faster, but I donβt know how to include them in manifest.json. You can usually specify the file "content_scripts": [
{
"matches": [ "<all_urls>"],
"css":["style.css", "jquery-ui.css"],
"js":["jquery-2.1.0.min.js", "index.js", "jquery-ui.min.js"],
}
but as far as I can tell, there is no specific tag for fonts, so how can I include ttf files?
source
share