Skip to content

Commit

Permalink
feat: introduce 'eruda' url query parm (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect authored Jan 5, 2024
1 parent 5f28584 commit 0360e57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -1776,6 +1776,8 @@ class ZitiBrowzerRuntime {

if (options.eruda) {
this.zitiConfig.eruda = true;
} else {
this.zitiConfig.eruda = false;
}

}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0360e57

Please sign in to comment.