Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Jupyter Notebook is broken in Firefox #4500
When I run 'jupyter notebook' it will open the html file in the filesystem and will be displayed incorrectly in the Firefox 67 and 68 (current Betas, I haven't tested 66). This issue does not happen in Chrome or Safari.
The only way to fix this is to access the URL provided in the terminal instead.
This was referenced
Apr 9, 2019
Confirmed not working on Firefox 67 (MacOS Mojave)
Cause is this commit, which changed the way Jupyter Notebook is opened in the browser:
Instead of opening
Safari and Chrome have no problems with this redirect, but Firefox does. I have edited the
By the way: this same problem exists in jupyter lab
the nbserver--open.html is generated new each time the notebook is run so editing the html file only works for a few hours. What exactly is it about firefox that it can't handle the redirect? I was trying to tweak the code directly(open_url, default_url?) but spent hours for such a stupid little fix. At some point the /tree is needed but just not in the final html file creation. I am a newbie so this was definitely learning opp for me. I am following along on my own machine.