MCPcopy
hub / github.com/GooseMod/OpenAsar / injCSS

Function injCSS

src/mainWindow.js:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}, 800);
55
56const injCSS = x => {
57 const el = document.createElement('style');
58 el.appendChild(document.createTextNode(x));
59 document.body.appendChild(el);
60};
61
62injCSS(`<css>`);
63

Callers 1

mainWindow.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected