How to avoid cross site scripting (XSS) errors with the Jupyter local runtime for Colab

data-science
ds-tips
Google-colab
colab
jupyter
python
R
tool-tip
data analysis
XSS
Author

Oren Bochman

Published

Thursday, February 20, 2020

google colab

google colab

So the trick is

jupyter notebook --NotebookApp.allow_origin='https://colab.research.google.com' \
  --port=9090 --no-browser

Citation

BibTeX citation:
@online{bochman2020,
  author = {Bochman, Oren},
  title = {How to Avoid Cross Site Scripting {(XSS)} Errors with the
    {Jupyter} Local Runtime for {Colab}},
  date = {2020-02-20},
  url = {https://orenbochman.github.io/posts/2020/2020-02-20-avoid-cross-site-scriptin-errors-with-a-Jupyter-local-runtime/2020-02-20-avoid-cross-site-scriptin-errors-with-a-Jupyter-local-runtime.html},
  langid = {en}
}
For attribution, please cite this work as:
Bochman, Oren. 2020. “How to Avoid Cross Site Scripting (XSS) Errors with the Jupyter Local Runtime for Colab.” February 20, 2020. https://orenbochman.github.io/posts/2020/2020-02-20-avoid-cross-site-scriptin-errors-with-a-Jupyter-local-runtime/2020-02-20-avoid-cross-site-scriptin-errors-with-a-Jupyter-local-runtime.html.