embed: add allow-forms to sandbox, otherwise location bar is disabled

update to latest wabac.js
This commit is contained in:
Ilya Kreymer
2020-09-02 21:17:49 -07:00
parent 889f51171a
commit 2212678ed7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ class Embed extends LitElement
render() {
return html`
${this.paramString && this.hashString && this.swInited ? html`
<iframe sandbox="allow-downloads allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-scripts allow-same-origin" @load="${this.onLoad}" src="${this.replaybase}?${this.paramString}#${this.hashString}" allow="autoplay *; fullscreen"></iframe>
<iframe sandbox="allow-downloads allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-scripts allow-same-origin allow-forms" @load="${this.onLoad}" src="${this.replaybase}?${this.paramString}#${this.hashString}" allow="autoplay *; fullscreen"></iframe>
` : html``}
${this.noSW ? html`