Extension overrides font-family on third-party websites
FixedBug · Extension · Oct 2, 2026
Expected: Websites keep their own fonts when the extension is installed.
What happens: With the extension enabled, the font-family on my own websites is replaced. The
Expected: Websites keep their own fonts when the extension is installed.
What happens: With the extension enabled, the font-family on my own websites is replaced. The page renders in a
different font than the one defined in my CSS. When I disable the extension, the correct font comes back immediately.
Steps to reproduce
- Install / enable the extension (version
[x.y.z]) in Chrome[version]on[macOS / Windows] - Open
[https://your-site.com] - Look at any text: it no longer uses the site's font (
[e.g. Inter]) but[font injected by the extension] - Disable the extension and reload: the original font is back
What I saw in DevTools
- Computed
font-familyon the text is[value], coming from a stylesheet injected by the extension ([chrome-extension://.../file.css]) - The rule looks global (e.g.
*,bodyorhtmlselector), so it leaks into every page the content script runs on
Suggested fix
- Scope the extension's UI styles inside a Shadow DOM, or prefix all selectors with a unique container class
- Avoid global selectors (
*,html,body) in content-script CSS - Inject styles only on pages where the extension UI is actually shown
This affects every visitor who has the extension installed, so they see my sites with the wrong typography. Happy to give more details or test a fix.