Yuav ua li cas Siv Firefox Browser's Scratchpad

Cov txheej txheem:

Yuav ua li cas Siv Firefox Browser's Scratchpad
Yuav ua li cas Siv Firefox Browser's Scratchpad
Anonim

Yuav Paub

  • Scratchpad tsis muaj lawm. Ua lwm txoj hauv kev, siv Mozilla Firefox's Web Console.
  • In Firefox, mus rau Tools > Web Developer > Web Console.
  • Tom ntej, txhawm rau nkag mus rau ntau kab kev kho, siv Ctrl+B keyboard shortcut (Cmd+B ntawm Mac) > sau code.

Scratchpad raug tshem tawm nrog kev tso tawm ntawm Firefox 72, tab sis tsab xov xwm no piav qhia yuav ua li cas siv lwm txoj hauv kev rau kev sim JavaScript code.

Siv Firefox's Web Console Editor Hom

Thaum Scratchpad tsis muaj lawm, Mozilla tau qhia lub Web Console editor hom nrog Firefox 71+. Nov yog lwm txoj hauv kev tsim nyog rau kev sau ntawv thiab sim ntau kab JavaScript. Ntawm no yog yuav nkag mus rau nws li cas.

  1. Open Tools > Web Developer > Web Console.

    Image
    Image

    Koj tuaj yeem nkag mus rau lub vev xaib console ntawm cov keyboard shortcut CTRL + SHIFT + K.

  2. Lub console tshwm hauv qab ntawm qhov screen thiab qhia cov nplooj ntawv web tam sim no tus lej. Nkag mus rau ntau txoj kab kev hloov kho los ntawm txhaj cov xub ntawm sab laug sab laug ntawm lub console.

    Koj tuaj yeem nkag mus rau ntau kab kev hloov kho ntawm cov keyboard shortcut Ctrl + B (Cmd + B ntawm macOS).

    Image
    Image
  3. Ntaus koj cov lej rau hauv tus editor. Siv Enter txhawm rau ntxiv cov kab tshiab, lossis siv CTRL+Enter los khiav lawv.

    Image
    Image

Pom zoo: