Adrià Vilanova MartÃnez | c78c3ad | 2024-05-18 00:35:51 +0200 | [diff] [blame^] | 1 | import Script, { ScriptEnvironment, ScriptPage, ScriptRunPhase } from "../../common/architecture/scripts/Script" |
| 2 | import { injectScript } from "../../common/contentScriptsUtils"; |
| 3 | |
| 4 | export default class InjectLitComponentsScript extends Script { |
| 5 | page = ScriptPage.CommunityConsole; |
| 6 | environment = ScriptEnvironment.ContentScript; |
| 7 | runPhase = ScriptRunPhase.Main; |
| 8 | |
| 9 | execute() { |
| 10 | injectScript(chrome.runtime.getURL('litComponentsInject.bundle.js')); |
| 11 | } |
| 12 | } |