Skip to content

Commit c78d363

Browse files
authored
Merge pull request #335 from djangoliv/sandbox_options
add allow-downloads and allow-modals to sandbox
2 parents 7a0e3b9 + 37c3032 commit c78d363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterlab-server-proxy/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { IFrame, MainAreaWidget, WidgetTracker } from '@jupyterlab/apputils';
55

66
function newServerProxyWidget(id: string, url: string, text: string): MainAreaWidget<IFrame> {
77
const content = new IFrame({
8-
sandbox: ['allow-same-origin', 'allow-scripts', 'allow-popups', 'allow-forms'],
8+
sandbox: ['allow-same-origin', 'allow-scripts', 'allow-popups', 'allow-forms', 'allow-downloads', 'allow-modals'],
99
});
1010
content.title.label = text;
1111
content.title.closable = true;

0 commit comments

Comments
 (0)