blob: a95485beb8b6612cd4ff4cb9e446eebea169d7b0 [file] [log] [blame]
import {injectStylesheet} from '../common/contentScriptsUtils.js';
import {getOptions} from '../common/options/optionsUtils.js';
import {setUpRedirectIfEnabled} from '../redirect/setup.js';
getOptions(['uispacing', 'redirect']).then(options => {
if (options.uispacing) {
injectStylesheet(chrome.runtime.getURL('css/ui_spacing/shared.css'));
injectStylesheet(chrome.runtime.getURL('css/ui_spacing/twbasic.css'));
}
setUpRedirectIfEnabled(options);
});