

#Firefox scratchpad how to#
Scratchpad was removed with the launch of Firefox 72, but this article explains how to use a suitable alternative for testing JavaScript code.

Next, to access multi-line editing, use the Ctrl+B keyboard shortcut ( Cmd+B on a Mac) > enter code. In the menu bar within Scratchpad of Firefox, change Environment from Content to Browser (omitting this step would subsequently result in errors like Exception: ReferenceError: OS is not defined at the next step) In Firefox, go to Tools > Web Developer > Web Console.

This website provides list of handy and easy to understand snippets to help boost developer productivities e.g save json as file, turn any website into dark mode. Introduction to the Firefox Scratchpad 1 Follower 61 Lines Firefox development tutorial explaining how to use the scratchpad. Your snippet can also be run in debug mode.
#Firefox scratchpad update#
Firefox 11 or later.Firefox Nightly highly recommended (the add-on has more features on Nightly and is more tested with this version) An update for Firefox 11 compatibility will come soon. Scratchpad is deprecated as of Firefox 70 (bug 1565380), and will be removed as of Firefox 72 (bug 1519103). Type JavaScript code after the web console prompt » and press Enter. Select Settings menu (3 horizontal lines icon in the upper right corner) -> Web Developer-> Web Console. There's few Google results that actually result in doable solutions, but, as per, the following appears to work most reliably: Snippets/ScractchPad is a feature most chromium browser and Firefox provide that allow you and other to save handy snippet right in Chrome. Evaluate your JavaScript functions in real-time while editing. Scratchpad is deprecated as of Firefox 70 (bug 1565380), and has been removed in Firefox 72 and later.
