Notebook: Can't use Notebook inside an iframe

Created on 13 Aug 2015  路  1Comment  路  Source: jupyter/notebook

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!

Most helpful comment

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" } }

>All comments

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" } }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

harshinielath picture harshinielath  路  3Comments

toasteez picture toasteez  路  3Comments

pylang picture pylang  路  3Comments

fonnesbeck picture fonnesbeck  路  3Comments

ehossain1982 picture ehossain1982  路  3Comments