diff --git a/src/content/content.ts b/src/content/content.ts index 955f2ea..3f0feac 100644 --- a/src/content/content.ts +++ b/src/content/content.ts @@ -421,8 +421,9 @@ function addStyles() { if(__ENV_USERSCRIPT) { const head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); - head.appendChild(style); - style.innerHTML = styleCss; + head.appendChild(style); + style.innerHTML = require('./style.css'); + } } prepareSchema()