blob: 551c85faeb57e4f3f1edd0113a6d99881e61c384 [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,
);
}
}