|
|
@@ -81,7 +81,7 @@ this.lazyLoader = this.lazyLoader || (() => {
|
|
|
function injectScript(path) {
|
|
|
const scriptElement = document.createElement(SCRIPT_TAG_NAME);
|
|
|
scriptElement.src = browser.runtime.getURL(path);
|
|
|
- document.body.appendChild(scriptElement);
|
|
|
+ document.documentElement.appendChild(scriptElement);
|
|
|
scriptElement.onload = () => scriptElement.remove();
|
|
|
}
|
|
|
|