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!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

how to get scratchpad to print console output to screen

  • 3 odpowiedzi
  • 5 osób ma ten problem
  • 10 wyświetleń
  • Ostatnia odpowiedź od Yousef

more options

How do I get the Scratchpad under Tools>Web Developer>Developer Toolbar>More Tools to print console output so it's visible. I can't use console.log() because that function returns no visible output, and have to use alert() right now, which is a nuisance.

How do I get the Scratchpad under Tools>Web Developer>Developer Toolbar>More Tools to print console output so it's visible. I can't use console.log() because that function returns no visible output, and have to use alert() right now, which is a nuisance.

Wszystkie odpowiedzi (3)

more options

Try the console service.

You will have to run the Scratchpad in browser (chrome) environment .

Zmodyfikowany przez cor-el w dniu

more options

The links you provided say I can use the Execute>Display command within Scratchpad in order to get console logging, but when I run console.log("string literal"); or var string = "string"; and console.log(string); through Execute>Display, I get output of /* undefined */. I'm using whatever version of Scratchpad comes with Firefox 17.0.3 for Linux Mint. Further assistance is requested.

more options

Tools > Web Developer > Web Console.

console.log() will have a grey line next to it.

Zmodyfikowany przez Yousef w dniu