Dodatki za brskalnik Firefox
  • Razširitve
  • Teme
    • za Firefox
    • Slovarji in jezikovni paketi
Prijava
Predogled "Lit Inspector"

Lit Inspector — oddcelot

Inspect Lit web components on any page, production builds included: component tree, properties, updates and a timeline, in a Lit tab in Firefox DevTools.

0 (0 ocen)0 (0 ocen)
Prenesite Firefox in pridobite razširitev
Prenesi datoteko

Metapodatki o razširitvi

Posnetki zaslona
Pick: click an element in the page to select itComponent tree and inspector next to the pageTimeline of a recorded sessionUpdates per component, with changed properties and timings
O tej razširitvi
Lit Inspector adds a Lit tab to Firefox DevTools for inspecting the Lit web components on a page: sites you don't serve, production builds, and pages whose Content Security Policy blocks injected script tags.

What it shows
- Components: the tree of Lit elements on the page. Select one to see its reactive properties, state, attributes and controllers. Pick selects an element by clicking it in the page.
- Updates: which components updated during a recording, how often, which properties changed, and how long each update took.
- Timeline: recorded lifecycle events (performUpdate, willUpdate, update, updated) with their timings, filterable by element and layer, as tracks on a time axis or as a list.
- Settings: appearance, and an option that writes Lit's updates as User Timing markers, so they show in the Firefox Profiler next to the browser's own work.

How to use it
1. Open the page, then Lit Inspector from the Extensions button in the toolbar.
2. Click "Enable on this site". Firefox asks for access to that site; allow it and the page reloads.
3. Open DevTools and go to the Lit tab. Click "Disable on this site" in the popup or at the bottom of the tab to turn it off again.

The extension asks for no site access at install and does nothing on a site until you enable it there. Firefox can't name a port in site access, so enabling a site covers every port on that host: enabling localhost:5173 enables localhost.

On production builds
Lit's production build is supported: the component tree, the inspector and the lifecycle timeline work. Some features need Lit's development build or a dev server and are not available from the extension: render events (Lit emits them only in development), source locations and open-in-editor, HMR history, and exporting a snapshot. For those, use the Vite plugin @oddsquad/vite-plugin-lit in development.

Limits
Top-level frames only (components inside iframes are not shown), http and https pages only, Firefox 140 or later.

Privacy
Lit Inspector collects no data. Its only network requests fetch an enabled site's own scripts, sourcemaps and Custom Elements Manifests, from that site, to show where components are defined and what their documentation says. It stores the sites you enabled and your panel settings in your browser. Privacy policy: https://oddcelot.github.io/vite-plugin-lit/reference/extension-privacy/

Lit Inspector is an independent, unofficial tool. It is not affiliated with, endorsed by, or produced by Google, Mozilla or the Lit project.

Source code and issues: https://github.com/oddcelot/vite-plugin-lit
Ocena 0 (0 mnenj)
Prijavite se, da ocenite to razširitev
Še ni ocenjeno

Ocena shranjena

5
0
4
0
3
0
2
0
1
0
Še ni ocenjeno
Dovoljenja in podatki

Zahtevana dovoljenja:

  • razširi razvojna orodja za dostop do vaših podatkov v odprtih zavihkih

Zbiranje podatkov:

  • Razvijalec pravi, da ta razširitev ne zahteva zbiranja podatkov.
Več o tem
Več informacij
Povezave dodatka
  • Domača stran
  • Stran s podporo
  • Kopiraj ID dodatka
Različica
0.22.0
Velikost
586,61 KB
Zadnja posodobitev
pred 6 urami (24. okt. 2026)
Sorodne kategorije
  • Razvoj za splet
Licenca
Licenca po meri
Zgodovina različic
  • Ogled vseh različic
Dodaj v zbirko
Prijavi ta dodatek
Pojdi na domačo stran Mozille

Dodatki

  • O strani
  • Blog Dodatkov za Firefox
  • Delavnica razširitev
  • Razvojno središče
  • Pravilniki za razvijalce
  • Blog skupnosti
  • Forum
  • Prijavi hrošča
  • Smernice za ocene

Prenesi

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Zadnje graditve

  • Nightly
  • Beta

Firefox za podjetja

  • Enterprise

Skupnost

  • Connect
  • Contribute
  • Developer

Sledi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Zasebnost
  • Piškotki
  • Pravno obvestilo

Če ni navedeno drugače, je vsebina tega spletnega mesta na voljo pod licenco Creative Commons Attribution Share-Alike v3.0 ali pod katerokoli novejšo različico.