Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

no command line interpreter in Browser Console

According to this page https://developer.mozilla.org/en-US/docs/Tools/Browser_Console my browser console (Ctrl+Shift+j) should have command line interpreter but it doesn't. My browser is Firefox stable 69.0.3. Is this feature available only in Firefox Developer Edition?

like image 310
niref Avatar asked Sep 18 '25 13:09

niref


1 Answers

I was just having this problem but found the solution. There is a little note on the mozilla website that says:

NB: The Browser Console command line (to execute JavaScript expressions) is disabled by default. To enable it set the devtools.chrome.enabled preference to true in about:config, or set the "Enable browser chrome and add-on debugging toolboxes" (Firefox 40 and later) option in the developer tool settings.

Ctrl+Shift+I - opens up the web developer tools.

F1 - Opens up preferences

Then right at the bottom there's a tick box that says "Enable browser chrome and add-on debugging toolboxes". This needs to be turned on.

like image 187
J.Massey Avatar answered Sep 22 '25 04:09

J.Massey