avm99963 | 37601bc | 2022-02-21 10:36:45 +0100 | [diff] [blame] | 1 | import {injectScript} from '../common/contentScriptsUtils.js'; |
2 | import {getOptions} from '../common/optionsUtils.js'; | ||||
3 | |||||
Adrià Vilanova MartÃnez | 89c5481 | 2022-06-06 13:32:29 +0200 | [diff] [blame] | 4 | getOptions('perforumstats').then(options => { |
5 | if (options?.perforumstats) | ||||
avm99963 | 37601bc | 2022-02-21 10:36:45 +0100 | [diff] [blame] | 6 | injectScript(chrome.runtime.getURL('extraInfoInject.bundle.js')); |
7 | }); |