MCPcopy Index your code
hub / github.com/darkreader/darkreader / getPipDoc

Function getPipDoc

src/inject/dynamic-theme/index.ts:835–837  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

833 }
834
835 function getPipDoc(): Document | null {
836 return (docPiP.window?.document as Document) ?? null;
837 }
838
839 function injectFontCSS(fontCSS: string): void {
840 const pipDoc = getPipDoc();

Callers 3

injectFontCSSFunction · 0.85
removeFontCSSFunction · 0.85
onPiPEnterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected