fix: page without head element
This commit is contained in:
parent
9c9ac4f4ab
commit
fe250de88c
@ -10,6 +10,6 @@ if (!!window.chrome) {
|
|||||||
script.setAttribute("type", "module");
|
script.setAttribute("type", "module");
|
||||||
|
|
||||||
// Inject logic script
|
// Inject logic script
|
||||||
head.appendChild(script);
|
(head || document.body).appendChild(script);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user