diff --git a/src/js/content.js b/src/js/content.js index 94095f5..80c211c 100644 --- a/src/js/content.js +++ b/src/js/content.js @@ -10,6 +10,6 @@ if (!!window.chrome) { script.setAttribute("type", "module"); // Inject logic script - head.appendChild(script); + (head || document.body).appendChild(script); };