|
@@ -134,6 +134,7 @@ function injectedScript() {
|
|
|
if (typeof globalThis == "undefined") {
|
|
if (typeof globalThis == "undefined") {
|
|
|
window.globalThis = window;
|
|
window.globalThis = window;
|
|
|
}
|
|
}
|
|
|
|
|
+ const document = globalThis.document;
|
|
|
const console = globalThis.console;
|
|
const console = globalThis.console;
|
|
|
const dispatchEvent = event => globalThis.dispatchEvent(event);
|
|
const dispatchEvent = event => globalThis.dispatchEvent(event);
|
|
|
const CustomEvent = globalThis.CustomEvent;
|
|
const CustomEvent = globalThis.CustomEvent;
|