The new Scratchpad feature has been integrated into Firefox 10 by Mozilla developers, and now comes with the ability to mark the necessary syntax and commands.
After selecting a certain piece of code, select Execute> Run menu, and the selected code will run directly on the open tab.
In fact, this is an alternative to the Error Console section on older browser versions - which will be quickly removed in new Firefox versions.
The main console section displays four different types of notifications:
So what is the notification from Web Developer? These are simply messages displayed from the window.console object. For example, we can run the JavaScript code window.console.log ('Hello World'); directly in Scratchpad to print this message to Console . Besides, web developers can integrate this function with JavaScript to improve debugging ability.
Refresh the current page, and we will see the network requirements created by the system as well as many other notifications.
Use the Search box to filter data, click on a request to display details, specifically:
In Firefox 10, the Web Console can work in tandem with the Page Inspector. The parameter $ 0 is the selected object in the Inspector table. Therefore, if you want to hide any object, just select and run the command $ 0.style.display = 'none' in the Console section.
If you want to learn more about how to use the Console and its associated functions, please go to the official Developer Network website of Mozilla.
In addition, the Get More Tools option will switch to Web Developer 's add on Toolbox on the Mozilla Add-Ons website system, including a lot of utilities for programmers, web application developers, some applications Support like Firebug or Web Developer Toolbar.