A simple browser extension that logs visited URLs and their loaded resources into the DevTools console.
- Logs the main URLs visited.
- Logs the resources loaded (CSS, JS, images, etc.).
- Runs in the background (no popup UI).
- Works in Chromium-based browsers (Chrome, Brave, Edge, etc.).
- Download or clone this repository to your local machine.
- Open your Chromium-based browser and go to:
(For Brave:
chrome://extensions/
brave://extensions/
, for Edge:edge://extensions/
) - Enable Developer Mode (toggle in the top-right corner).
- Click Load unpacked and select the project folder containing:
manifest.json
background.js
- The extension should now appear in your list of extensions as URL Logger.
- Open DevTools Console:
- Press
Ctrl+Shift+I
(Windows/Linux) orCmd+Option+I
(Mac). - Or right-click on the page → Inspect → Console tab.
- Press
- Visit any website.
- The console will show logs such as:
Main URL visited: https://example.com/ Resource URL loaded: https://example.com/script.js
- Some requests (like blocked trackers) may not appear if the browser blocks them before they’re requested.
- The extension currently only logs to the console. You can extend it to store logs using
chrome.storage
or export them if needed.
manifest.json
→ Defines the extension configuration.background.js
→ Background script that listens for requests and logs URLs.README.md
→ Setup and usage instructions.
✅ You’re all set! Enable the extension, open DevTools, and start browsing to see the logs.