
TraceFault ์ ์์: George Viaud
Show failed network requests at a glance.
์ฌ์ฉ์ 1๋ช
์ฌ์ฉ์ 1๋ช
ํ์ฅ ๋ฉํ ๋ฐ์ดํฐ
์ ๋ณด
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
Quick start
1) Install dependencies:
2) Build the extension:
3) Load into Firefox temporarily:
- Open
- Choose
Using TraceFault
Quick test (in the web console on any page):
Permissions and privacy
Architecture
Development
Troubleshooting
Roadmap ideas
Authors
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
andonErrorOccurred
- 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 todist/
. - After changes:
npm run build
cp public/manifest.json dist/manifest.json
- Load
dist/manifest.json
inabout: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 thedist/manifest.json
generated frompublic/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>
0๋ช
์ด 0์ ์ผ๋ก ํ๊ฐํจ
๊ถํ ๋ฐ ๋ฐ์ดํฐ๋ ์์๋ณด๊ธฐ
ํ์ ๊ถํ:
- ๋ธ๋ผ์ฐ์ ํญ์ ์ ๊ทผ
- ํ์ ์ค ๋ธ๋ผ์ฐ์ ํ๋์ ์ ๊ทผ
- ๋ชจ๋ ์น์ฌ์ดํธ์์ ์ฌ์ฉ์์ ๋ฐ์ดํฐ์ ์ ๊ทผ
์ถ๊ฐ ์ ๋ณด
- ๋ฒ์
- 0.1.0
- ํฌ๊ธฐ
- 15.11 KB
- ๋ง์ง๋ง ์ ๋ฐ์ดํธ
- ํ ๋ฌ ์ (2025๋ 9์ 24์ผ)
- ๊ด๋ จ ์นดํ ๊ณ ๋ฆฌ
- ๋ผ์ด์ ์ค
- GNU General Public License v3.0 ์ ์ฉ
- ๋ฒ์ ๋ชฉ๋ก
- ๋ชจ์์ง์ ์ถ๊ฐ