How to use Firefox's Scratchpad
Firefox contains a handy set of tools for developers, including integrated bug and web dashboards, as well as a code checker. Part of the browser 's web development kit is Scratchpad, a tool that allows programmers to experiment with JavaScript and execute it from within the Firefox window.
The simple interface of Scratchpad can be quite convenient for JavaScript developers. This step-by-step guide will show you how to access the tool and how to use it to create and refine JS code.
Use Scratchpad with Javascript
First, open your Firefox browser. Click the Firefox menu button, located in the upper right corner of the browser window and denoted by three horizontal lines. When the drop-down menu appears, select the Developer option . A submenu will appear. Click Scratchpad, found in this menu. Note that you can use the following shortcut instead of this menu item: SHIFT
+ F4
.
Scratchpad will now be displayed in a separate window. The main section contains some brief instructions, followed by a space reserved for input. When you have entered some JavaScript code, click the Execute menu , including the following options:
- Run: This option executes the selected code in the Scratchpad window. The shortcut for this menu item is
CTRL
+R
on Windows andCOMMAND
+R
on Mac OS X. - Inspect: This option executes the selected code and also opens a version of the object tester on the specific value returned. This allows you to drill down into a specific object. The shortcut for this menu item is
CTRL
+I
on Windows andCOMMAND
+I
on Mac OS X. - Display: This option executes the selected code, displays the results directly in the editing window itself. The shortcut for this menu item is
CTRL
+L
on Windows andCOMMAND
+L
on Mac OS X.
This guide is only for users running Firefox web browser on Mac OS X or Windows.
Hope you are succesful.
You should read it
- FireFox 54 version improves performance, speed, and security enhancement
- Firefox 58 and new features help improve performance
- Mozilla Firefox - Free, fast and private web browser
- Firefox 57 Quantum is here, great Mozilla!
- Top best VPN for Firefox
- Is this the time to give Firefox another chance?
- How to use Firefox Color to customize the Firefox interface
- Firefox 56 released with a new screen capture, settings panel
May be interested
- The secret to controlling Pokemon Go employees at workthese days, hr managers are faced with an extremely painful problem that is the status of priority employees playing pokemon go more than work. this has caused a small impact on productivity and efficiency.
- Check out the 'buffalo' Pokémon in Pokémon Goeach type of pokemon has hp, cp, ability to attack and endure differently. based on these indicators, players can determine as well as choosing the most powerful pokemon for their offensive tactics.
- Sitting home can also locate Pokemon around, do you believe it?the tightening of the niantic developers' rules to prevent players from abusing the support tools also brings annoyance, such as those who have no conditions to move much, go away, it is hard to know. get the location of the pokemon around the area they live in
- 5 undeniable benefits when playing Pokemon Goget to know many new people, breathe fresh air, relieve stress, increase concentration thanks to going out for a walk .... are compelling reasons to force you to try pokemon go now .
- Want to earn the fastest Pokécoins in Pokémon Go? So don't miss this article!pokécoins in pokémon go play the role of buying items in the store. the more coins you earn, the more likely you are to buy more items. to earn pokécoins, players will have to complete certain tasks or buy real money.
- Pokémon systems when fighting in Pokémon Goeach pokémon system in pokémon go has different strengths, along with a specific weakness. this type of pokémon will have the power to attack the other pokémon, but can defeat the other pokémon. if you know the characteristics of each type, it will be easier to choose which pokémon to battle.
- The terms you need to know when playing Pokémon Gopokémon go is the most prominent name in recent days. this game of capturing and training virtual animals has created a relatively new way of playing, as players have to constantly move to catch pokémon. during the process of joining pokémon go, you will encounter and use a lot of important terms. so what do they mean?
- How to play Pokemon GO on Windows computersrecently, pokemon go has become a popular game, attracting thousands of gamers around the world. in previous posts network administrator has guided you on how to play pokemon go on android devices and ios devices. in the article below, network administrator will guide you how to play pokemon go on windows computers using bluestacks emulator software.
- How to become a good Pokémon Go hunter?with a new way of playing, pokémon go has created a new phenomenon in the game village around the world. players will have to go around and find pokémon for themselves. so how to quickly catch pokémon and in large numbers?
- Things to know to upgrade Pokémon in Pokémon Gothe whirlwind pokémon go has spread its power right on the first day of its release. everyone rushed to the street to find a pokémon for themselves. therefore, in order to become a pokémon hunter, you need to master the basics of participating in pokémon go battlefield.