From 40eb582f1a3d1cac24e180950b747f5dedf4f182 Mon Sep 17 00:00:00 2001 From: Curt Tudor Date: Fri, 5 Jan 2024 08:45:39 -0700 Subject: [PATCH] introduce 'eruda' url query parm --- src/runtime.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime.js b/src/runtime.js index 8b96484..94b17f3 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -1776,6 +1776,8 @@ class ZitiBrowzerRuntime { if (options.eruda) { this.zitiConfig.eruda = true; + } else { + this.zitiConfig.eruda = false; } } @@ -1938,6 +1940,7 @@ if (isUndefined(window.zitiBrowzerRuntime)) { + '?swVersion=' + encodeURIComponent(zitiBrowzerRuntime.zitiConfig.browzer.sw.version) + '&controllerApi=' + encodeURIComponent(zitiBrowzerRuntime.zitiConfig.controller.api) + '&logLevel=' + encodeURIComponent(zitiBrowzerRuntime.zitiConfig.browzer.runtime.logLevel) + + '&eruda=' + encodeURIComponent(zitiBrowzerRuntime.zitiConfig.eruda) ); CookieInterceptor.init(); // Hijack the `document.cookie` object