Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Firefox Developer Edition. Developer Tools. Console. Can't get the command line prompt up, to test Javascript

  • 5 risposte
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di zainab.tech

more options

Hello! Using Firefox Developer Edition. Trying to get the command line prompt so I can type Javascript for a class. When in ctrl + shift + K Developer Tools: Web Console command line interface prompt (>> ) not showing (where I can type and test js code.)

I have

  1. set the ' devtools.chrome.enabled preference to true in about:config, ' as suggested in docs (but it still has no >> to type on).
  2. Also enabled 'enable browser chrome and add on debugging' in developer... settings)

How can I type in the Firefox console to test Javascript commands? Thanks!

Hello! Using Firefox Developer Edition. Trying to get the ''command line prompt ''so I can type Javascript for a class. When in ''ctrl + shift + K'' Developer Tools: '''Web Console command line interface prompt (>> ) not showing (where I can type and test js code.)''' I have # set the ' devtools.chrome.enabled preference to true in about:config, ' as [http://example.com suggested in docs] (but it still has no >> to type on). # Also enabled 'enable browser chrome and add on debugging' in developer... settings) How can I type in the Firefox console to test Javascript commands? Thanks!
Immagini allegate

Soluzione scelta

The two prefs you mention are for enabling the command line in the Browser Console and for enabling the Browser Toolbox.

Like posted above, you have opened the multi-line editor in the Web Console. This opens an editor window in a panel at the left where you can type more text. You can close this editor via the close X at the top of this panel (toolbar with Run and other commands).

Leggere questa risposta nel contesto 👍 1

Tutte le risposte (5)

more options

Hello. Adding a screenshot of what it looks like for someone I know... It is OK for them to type commands, but don't see the >> in mine thanks

more options

OK, it has been changed recently. Command line window is now multiline, under the Run button on your screenshot.

Modificato da TyDraniu il

more options

Hi TyDraniu, Thanks for the response. But when I type at the 'run' prompt, I see no output or effect anywhere.

I took the screenshots today. But the teacher's view is different from mine. The teacher was live online. (He couldn't help with my Firefox though).

If I type a variable I want to see a Nodelist or HTMLCollection or some form of output or feedback.

Modificato da zainab.tech il

more options

Soluzione scelta

The two prefs you mention are for enabling the command line in the Browser Console and for enabling the Browser Toolbox.

Like posted above, you have opened the multi-line editor in the Web Console. This opens an editor window in a panel at the left where you can type more text. You can close this editor via the close X at the top of this panel (toolbar with Run and other commands).

more options

Thanks! That was it! Next time #keepingitsimple