blob: 5edc93263ea467b31fc544ca264697fbd704ae9b [file] [log] [blame]
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +02001import {injectScript, injectStylesheet} from '../common/contentScriptsUtils.js';
2import {setUpListener} from '../common/csEventListener.js';
3
4setUpListener();
5
6chrome.storage.sync.get(null, function(options) {
7 if (options.profileindicator || options.profileindicatoralt) {
8 injectScript(
9 chrome.runtime.getURL('profileIndicatorInject.bundle.js'));
10 injectStylesheet(
11 chrome.runtime.getURL('css/profileindicator_inject.css'));
12 }
13});