Adrià Vilanova Martínez | d7951b2 | 2024-05-25 22:13:32 +0200 | [diff] [blame] | 1 | import {injectScript} from '../common/contentScriptsUtils'; |
Adrià Vilanova Martínez | b523be9 | 2024-05-25 19:14:19 +0200 | [diff] [blame] | 2 | import {getOptions} from '../common/options/optionsUtils.js'; |
avm99963 | 37601bc | 2022-02-21 10:36:45 +0100 | [diff] [blame] | 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 | }); |