Skedda
Skedda
PD🧩 Plasmo Developers
Created by Skedda on 2/3/2024 in #🔰newbie
Style / Font consistency between content scripts
Hey! I'm wondering if anyone else has ran into issues with content script's styling and fonts being applied differently accross web pages? It's kinda jarring when I'm trying to create a persistant look between pages.
4 replies
PD🧩 Plasmo Developers
Created by Skedda on 1/24/2024 in #🔰newbie
Performance implications of multiple content script and one redux store
Hey, I'm wondering if someone has tested if the shared Redux store across multiple content scripts will damage performance when it's across let's say 20+ tabs.
1 replies
PD🧩 Plasmo Developers
Created by Skedda on 11/23/2023 in #👾extension
Custom font loading in Content Script
Hello all, just starting using Plasmo and I'm loving it. I'm currently trying to make a persisten content script. My font.css I have font declarations @font-face {...} using a woff2 font. and in content.tsx i havethis simple config
{
matches: ["<all_urls>"],
css: ["font.css"],
run_at: "document_start"
}
{
matches: ["<all_urls>"],
css: ["font.css"],
run_at: "document_start"
}
it works well, but I've seen it run into a problem on for example github, where I get this error: refused to load the font <lots of font info> because it violates the following Content Security Policy directive: "font-src github.githubassets.com". Anyone have a clue?
2 replies