Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use Notebook inside an iframe #284

Closed
qmaxquique opened this issue Aug 13, 2015 · 1 comment
Closed

Can't use Notebook inside an iframe #284

qmaxquique opened this issue Aug 13, 2015 · 1 comment

Comments

@qmaxquique
Copy link

Hello,
I want to use Jupyter Notebook inside the Terminal.com IDE but looks like I'm not allowed to show the Notebook interface inside an iframe. Could you please tell me if that is possible somehow?

This is what I get in the browser console:

Refused to display 'https://qmaxquique121-8080.terminal.com/tree' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'"

Thank you!

@qmaxquique
Copy link
Author

This can be done by adding something like this in the settings file:

c.NotebookApp.tornado_settings = { 'headers': { 'Content-Security-Policy': "frame-ancestors 'self' https://*.terminal.com" } }

@qmaxquique qmaxquique changed the title Can't Notebook inside an iframe Can't use Notebook inside an iframe Aug 14, 2015
@minrk minrk added this to the no action milestone Dec 14, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants