|
|
@@ -122,6 +122,9 @@ function loadDeferredImagesResetZoomLevel(options) {
|
|
|
}
|
|
|
|
|
|
function injectedScript() {
|
|
|
+ if (typeof globalThis == "undefined") {
|
|
|
+ window.globalThis = window;
|
|
|
+ }
|
|
|
const console = globalThis.console;
|
|
|
const dispatchEvent = event => globalThis.dispatchEvent(event);
|
|
|
const CustomEvent = globalThis.CustomEvent;
|