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

View File

@@ -111,7 +111,7 @@ class WebBrowser extends LitElement {
${this.renderFollowUnfollowButton()}
</div>
<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
</iframe>
</div>