question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JavaScript output disabled

See original GitHub issue

Description

Looks like JavaScript output is disabled in the app. I don’t remember if there is a setting to change this. I think the default state of the app should match JupyterLab (enabled by default).

Reproduce

  1. Create a new cell with %%javascript\nconsole.log("Hi there");
  2. Run you will see a message about JavaScript output being disabled

Expected behavior

JavaScript output should be rendered.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jasongroutcommented, Oct 13, 2021

I think the security surface for js execution in the desktop app is much bigger than the browser sandbox, so whether it should be enabled should be considered very carefully.

0reactions
ellisonbgcommented, Nov 9, 2021

Thanks!

On Mon, Nov 8, 2021 at 7:14 PM Mehmet Bektas @.***> wrote:

closing since js output is enabled in newer versions. security concerns are tracked in another issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab-desktop/issues/305#issuecomment-963778416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGXUHYX6OL7DNLLWGYSTLULCG2BANCNFSM5F5UU6YQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

– Brian E. Granger

Senior Principal Technologist, AWS AI/ML @.***) On Leave - Professor of Physics and Data Science, Cal Poly @ellisonbg on GitHub

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript output is disabled in JupyterLab - Stack Overflow
I switched to JupyterLab 0.35.3. Here I can open Vega files and they are rendered. For rendering inside a notebook I use Altair...
Read more >
JavaScript output is disabled in JupyterLab #917 - GitHub
I'm trying to show a bokeh plot in an ipywidget.Output and to render that with voila (in JupyterLab): import bokeh.plotting as plt import ......
Read more >
Voila and interactive plots = 'JavaScript output is disabled in ...
I'm using %matplotlib notebook To enable interactive plots which I would like to use in a Voila dashboard. The plots display fine in...
Read more >
How to Display a Message if JavaScript is Turned Off - W3docs
When JavaScript is disabled, you can use the <noscript> tag to display a warning message and hide the entire content with CSS. It...
Read more >
HTML DOM Button disabled Property - W3Schools
The disabled property sets or returns whether a button is disabled, or not. A disabled element is unusable and un-clickable. Disabled elements are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found