diff --git a/src/js/content.js b/src/js/content.js index e0aa6f1..4d11fa2 100644 --- a/src/js/content.js +++ b/src/js/content.js @@ -13,5 +13,5 @@ if (!!window.chrome) { script.setAttribute("type", "module"); // Inject logic script - target.appendChild(script); + if (!!target) target.appendChild(script); };