Allow downloads through the sandbox

This commit is contained in:
AlphaX-Projects 2022-01-28 19:01:39 +01:00 committed by GitHub
parent c30c829c77
commit 8511a09e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ class WebBrowser extends LitElement {
${this.renderFollowUnfollowButton()} ${this.renderFollowUnfollowButton()}
</div> </div>
<div class="iframe-container"> <div class="iframe-container">
<iframe id="browser-iframe" src="${this.url}" sandbox="allow-scripts allow-forms"> <iframe id="browser-iframe" src="${this.url}" sandbox="allow-scripts allow-forms allow-downloads">
Your browser doesn't support iframes Your browser doesn't support iframes
</iframe> </iframe>
</div> </div>