_ap_ufes{"success":true,"siteUrl":"www.jucktion.com/tech","urls":{"Home":"https://www.jucktion.com/tech","Category":"https://www.jucktion.com/tech/c/mobile/android/","Archive":"https://www.jucktion.com/tech/2018/01/","Post":"https://www.jucktion.com/tech/incoming-remote-desktop-windows-home/","Page":"https://www.jucktion.com/tech/about/","Attachment":"https://www.jucktion.com/tech/incoming-remote-desktop-windows-home/windows-10-home-rdp-setup/","Nav_menu_item":"https://www.jucktion.com/tech/3985/"}}_ap_ufee Scratchpad : In-Browser JavaScript editor for Firefox - Tech Junction

Scratchpad : In-Browser JavaScript editor for Firefox

By | 16th August, 2011 | 0 Comments

Mozilla with the new release of Firefox will be including a tool called Scratchpad where developer will be able to work and experiment with JavaScrip in the browser. Previously tools and plugins like WebTool and Firebug were used to work with JavaScript which weren’t that efficient on handling edits.

With ScratchPad you get a notepad like text editor where you can edit your JavaScript and test them right in the browser. This provides much better way to interact with the JavaScript code rather than editing them one line at a time.

scratchpad - javascript editor for firefox


To use Scratchpad, go to the “Web Developer” menu. Select “Scratchpad” from that menu, and you’ll get a text editor window. The window starts out with a helpful hint about using Scratchpad.

The basic flow with Scratchpad could hardly be simpler:

  1. Enter some code
  2. Select a portion of the code
  3. Choose one of the three commands from the Execute or right-click context menu

The three ways to run code with Scratchpad are:

  • Run
  • Inspect
  • Display
And they also have shortcuts so you don’t have to go for your mouse every time you want to run or check your code.

Tags: , , , , , , , , ,

Category: Browsers