Shtesa Shfletuesi Firefox
  • Zgjerime
  • Tema
    • për Firefox
    • Fjalorë & Paketa Gjuhësore
    • Sajte Shfletuesish të Tjerë
    • Shtesa për Android
Hyni
Paraparje e TraceFault

TraceFault nga George Viaud

Show failed network requests at a glance.

0 (0 reviews)0 (0 reviews)
S’ka PërdoruesS’ka Përdorues
Shkarkoni Firefox-in dhe merrni zgjerimin
Shkarko kartelën

Tejtëdhëna Zgjerimi

Rreth këtij zgjerimi
TraceFault

A Firefox extension that surfaces failed network requests at a glance. It shows a badge count on the toolbar icon and a detailed table (popup or pop‑out window) with each failure’s time, type, HTTP status (when present), error, and URL.

What it does
  • Monitors page resource loads (images, scripts, stylesheets) and XHR/fetch requests
  • Records failures from:
  • HTTP 4xx/5xx responses
  • Network errors (DNS, timeouts, blocked) via onErrorOccurred
  • Maintains per‑tab state (counts and a capped list of recent failures)
  • Displays a table of failures in the popup; supports a per‑tab pop‑out window
  • Resets count/list on top‑frame reload

Quick start

1) Install dependencies:

npm install


2) Build the extension:

npm run build


3) Load into Firefox temporarily:
- Open about:debugging → This Firefox → Load Temporary Add‑on…
- Choose dist/manifest.json

Using TraceFault
  • Browse to any page. When a resource or XHR/fetch fails, the toolbar badge increments.
  • Click the icon to open the popup and see a table of recent failures.
  • Click “Pop out” to open a dedicated window for that tab. Each tab can have its own pop‑out.
  • Click “Clear” to reset the list and the badge for the current tab.

Quick test (in the web console on any page):

new Image().src = 'https://httpbin.org/status/404'


Permissions and privacy
  • webRequest, webNavigation, tabs, windows, and "<all_urls>"
  • Data is local only: URL, type, status/error, timestamp. No remote transmission.

Architecture
  • Manifest: MV2 with background.scripts for broad Firefox compatibility
  • Background (src/background.ts):
  • Attaches webRequest.onCompleted and onErrorOccurred
  • Tracks per‑tab failures in memory (capped)
  • Updates per‑tab badge and broadcasts updates to views
  • Manages per‑tab pop‑out windows
  • Popup/Pop‑out (src/popup/*):
  • Renders a table (Time, Type, Status, Error, URL)
  • Live‑updates via background messages
  • Pop‑out hides the pop‑out button and expands to full width; resizes responsively

Development
  • Source lives in src/ (TypeScript). Vite bundles to dist/.
  • After changes:

npm run build
cp public/manifest.json dist/manifest.json
  • Load dist/manifest.json in about:debugging as above.

Troubleshooting
  • No badge updates or empty popup:
  • Ensure you loaded the built dist/manifest.json
  • Test on a normal web page (not about:*)
  • “background.service_worker is disabled”:
  • This project uses MV2 (background.scripts) specifically to avoid that. Make sure you’re loading the dist/manifest.json generated from public/manifest.json.

Roadmap ideas
  • Filters (by type/domain/code)
  • Copy row / export list
  • Optional persistent storage with retention policy

Authors
  • George Viaud <george@infinitycyberworks.com>
Rated 0 by 0 reviewers
Që të vlerësoni këtë zgjerim, bëni hyrjen
Ende pa vlerësime

Vlerësimi me yje u ruajt

5
0
4
0
3
0
2
0
1
0
Ende pa shqyrtime
Permissions and dataMësoni më tepër

Required permissions:

  • Të hyjë në skeda të shfletuesit
  • Të hyjë në veprimtari shfletuesi gjatë lëvizjesh
  • Të hyjë në të dhënat tuaja për krejt sajtet
Më tepër të dhëna
Version
0.1.0
Madhësi
15,11 KB
Përditësuar së fundi më
22 ditë më parë (24 Sht 2025)
Kategori të Afërta
  • Zhvillim Web
  • Sinjalizime & Përditësime
Licencë
Vetëm GNU General Public License v3.0
Historik Versionesh
  • Shihini krejt versionet
Shtojeni në koleksion
Raportojeni këtë shtesë
Shkoni te faqja hyrëse e Mozilla-s

Shtesa

  • Mbi
  • Blog Shtesash Firefox-i
  • Praktikë Mbi Zgjerime
  • Qendër Zhvilluesish
  • Rregulla Për Zhvilluesit
  • Blog Bashkësie
  • Forum
  • Njoftoni një të metë
  • Udhërrëfyes Shqyrtimesh

Shfletues

  • Desktop
  • Mobile
  • Enterprise

Produkte

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatësi
  • Cookies
  • Ligjore

Hiq atje ku shënohet ndryshe, lënda e këtij sajti licencohet sipas licencës Creative Commons Attribution Share-Alike License v3.0 ose çfarëdo versioni të mëvonshëm.