Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/darkreader/darkreader
/ removeFontCSS
Function
removeFontCSS
src/inject/dynamic-theme/index.ts:851–853 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
849
}
850
851
function
removeFontCSS(): void {
852
getPipDoc()?.querySelector(
'.darkreader--font-fix'
)?.remove();
853
}
854
855
function
onPiPEnter(): void {
856
const
pipDoc = getPipDoc();
Callers
2
onPiPEnter
Function · 0.85
setupDocumentPiPFontFix
Function · 0.85
Calls
2
getPipDoc
Function · 0.85
remove
Method · 0.65
Tested by
no test coverage detected