MCPcopy Create free account
hub / github.com/zxlie/FeHelper / injectScript

Function injectScript

apps/background/background.js:300–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298 ]).then(([js, css]) => {
299 const invokeNoPage = () => InjectTools.inject(tab.id, invokeConfig);
300 const injectScript = () => js
301 ? InjectTools.inject(tab.id, { js }, invokeNoPage)
302 : invokeNoPage();
303
304 if (css) {
305 InjectTools.inject(tab.id, { css }, injectScript);

Callers 1

background.jsFile · 0.85

Calls 1

invokeNoPageFunction · 0.85

Tested by

no test coverage detected