.. blogpost:: :title: Custom javascript does not in jupyter lab :keywords: jupyter lab, notebook :date: 2018-03-12 :categories: javascript I was surprised to see that the same code is working with a notebook server and not in Jupyter Lab. Here is the reason : `Jupyter Lab extension to support JavaScript output which are disabled in JupyterLab `_, `how to restore script tags in trusted HTML output `_. I did not find any easy to enable javascript back. A couple of direction: `javascriptRendererExtension.ts `_, `jupyter-renderers `_, `vdom `_. Maybe, it will get easier.