##// END OF EJS Templates
Backport PR #6120: Only allow iframe embedding on same origin....
Backport PR #6120: Only allow iframe embedding on same origin. This sets the iframe security policy by default to only allow same origin embedding of the notebook. This can be overridden by changing `headers['X-Frame-Options']`.

File last commit:

r13582:b21d447e
r17365:e35c0e60
Show More
__init__.py
15 lines | 333 B | text/x-python | PythonLexer
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from _dummy import *
else:
from ._nope import *
del sys, platform, V