blob: d2b146fbc8091f16b8125336c12f048cfbfd3b86 [file] [log] [blame]
import Script, {
ScriptEnvironment,
ScriptPage,
ScriptRunPhase,
} from '../../../common/architecture/scripts/Script';
import { injectScript } from '../../../common/contentScriptsUtils';
export default class XHRInterceptorScript extends Script {
priority = 10;
page = ScriptPage.CommunityConsole;
environment = ScriptEnvironment.ContentScript;
runPhase = ScriptRunPhase.Start;
execute() {
injectScript(
chrome.runtime.getURL('xhrInterceptorInject.bundle.js'),
/* prepend = */ true,
);
}
}