A Chrome extension that can read and monitor network traces when opened in developer mode.
- Real-time Network Monitoring: Captures all network requests and responses in real-time
- DevTools Integration: Adds a "Network Tracer" panel to Chrome DevTools
- Detailed Request Information: Shows method, URL, status, type, size, and timing for each request
- HAR Export: Export network traces in HAR (HTTP Archive) format for analysis
- Request Filtering: View and analyze different types of network requests
- Statistics Dashboard: Shows total requests, failed requests, and data transferred
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension directory
- The extension icon will appear in the Chrome toolbar
- Click the extension icon in the Chrome toolbar
- Click "Start Monitoring" to begin capturing network traces
- Browse the web normally - all network requests will be captured
- Click "Stop" to stop monitoring
- Use "Clear" to clear all captured data
- Open Chrome DevTools (F12 or right-click → Inspect)
- Look for the "Network Tracer" tab in the DevTools panel
- Click "Start Recording" to begin capturing network traces
- Browse the web - all network activity will be displayed in real-time
- Use "Export HAR" to download network traces for external analysis
- Captures all HTTP/HTTPS requests
- Shows request methods (GET, POST, PUT, DELETE, etc.)
- Displays response status codes with color coding
- Records request/response timing information
- Shows data transfer sizes
- Custom DevTools panel for detailed analysis
- Real-time request display
- Request filtering and sorting capabilities
- Export functionality for further analysis
- HAR (HTTP Archive) format export
- Compatible with tools like:
- Postman
- Insomnia
- HAR Analyzer
- Chrome DevTools (import feature)
activeTab
: Access to the current active tabdebugger
: Access to Chrome's debugging API for network monitoringstorage
: Store extension settings and captured data
- Manifest V3: Uses the latest Chrome extension manifest version
- Service Worker: Background processing for extension lifecycle
- DevTools API: Integrates with Chrome's developer tools
- Debugger API: Uses Chrome's debugger protocol to access network data
chromextn/
├── manifest.json # Extension configuration
├── background.js # Service worker for background tasks
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── devtools.html # DevTools integration entry point
├── devtools.js # DevTools panel creation
├── panel.html # Network monitoring panel UI
├── panel.js # Core network monitoring logic
└── icons/ # Extension icons
├── icon16.png
├── icon48.png
└── icon128.png
To modify or extend this extension:
- Edit the relevant files in the extension directory
- Reload the extension in
chrome://extensions/
- Test the changes in a new tab or DevTools session
- Background Script: Handles extension lifecycle and message passing
- Popup Interface: Provides quick access controls
- DevTools Panel: Main interface for detailed network analysis
- Network Monitoring: Uses Chrome's debugger API to capture network events
- Ensure Developer Mode is enabled in Chrome extensions
- Check that all required permissions are granted
- Reload the extension after making changes
- Make sure "Start Recording" is clicked in the DevTools panel
- Verify that the debugger is properly attached to the tab
- Check the console for any error messages
- Close and reopen DevTools
- Look for the "Network Tracer" tab (may be in the overflow menu)
- Ensure the extension is properly loaded and enabled
This extension is provided as-is for educational and development purposes.
Feel free to submit issues and enhancement requests!