From e5c3ed41bdc096fc349bad586ce95cfeeebd4102 Mon Sep 17 00:00:00 2001 From: Magnus <39904918+MagnusDot@users.noreply.github.com> Date: Thu, 11 Apr 2019 13:47:22 +0200 Subject: [PATCH] Update index.ts Update for working in google chrome --- src/replay/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replay/index.ts b/src/replay/index.ts index adbb28220c..fca236723c 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -167,7 +167,7 @@ export class Replayer { this.wrapper.appendChild(this.mouse); this.iframe = document.createElement('iframe'); - this.iframe.setAttribute('sandbox', 'allow-same-origin'); + this.iframe.setAttribute('sandbox', 'allow-same-origin allow-scripts'); this.iframe.setAttribute('scrolling', 'no'); this.wrapper.appendChild(this.iframe); }