To use the console API from a traditional or bootstrapped add-on, get it from the Console module. The Browser Console displays messages logged by all Firefox add-ons. Input/output messages: commands send to the browser via the command line, and the result of executing them.Warnings and errors (including JavaScript, CSS, security warnings and errors, and messages explicitly logged by JavaScript code using the console API).The Browser console logs the same sorts of messages as the Web Console: The following image shows the browser console focused on the same page as above after clicking on the Show Content Messages checkbox. the messages from scripts in all the opened pages) by setting or clearing the checkbox labeled Show Content Messages. at the bottom, a command line interpreter enables you to evaluate JavaScript expressions.īeginning with Firefox 68, the Browser Console allows you to show or hide messages from the content process (i.e.at the top, a toolbar enables you to filter the messages that appear.most of the window is occupied by a pane that display messages.You can see that the Browser Console looks and behaves very much like the Web Console: You can also start the Browser Console by launching Firefox from the command line and passing the -jsconsole argument: /Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin -jsconsole from the keyboard: press Ctrl+Shift+J (or Cmd+Shift+J on a Mac).from the menu: select "Browser Console" from the Web Developer submenu in the Firefox Menu (or Tools menu if you display the menu bar or are on macOS). You can open the Browser Console in one of two ways: To enable it set the 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. NB: The Browser Console command line (to execute JavaScript expressions) is disabled by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |