Copy Tab URLs is a lightweight, offline-ready WebExtensions add-on that helps you collect, copy, and reopen the URLs from your current browsing session. The extension now supports Chromium-based browsers (Chrome, Brave, Edge) and Firefox with the same MV3 codebase.
- Copy the URLs from the current window or every open browser window with one click.
- Toggle whether restored sessions open in the current window or a brand-new window.
- Automatically filter out internal pages such as
chrome://andabout:URLs. - Display real-time status updates, copy statistics, and last saved timestamps in the popup.
- Save the most recent copy session and restore it later on demand.
- Open URL lists from your clipboard whether they are newline-separated text, JSON arrays, or objects with a
urlsfield. - Persist your preferences across browsers with
storage.syncand keep the last session safe instorage.local. - Work completely offline with no external network access.
- Clone or download this repository to your machine.
- Open the extensions page (
chrome://extensions/,brave://extensions/, oredge://extensions/). - Enable Developer mode in the top-right corner.
- Click Load unpacked and select the project directory.
Pre-built XPI: You can use copy-tab-urls-chrome.xpi for Chrome-based browsers if needed.
- Clone or download this repository to your machine.
- Build the Firefox-compatible XPI:
./build-firefox.sh
- Open Firefox/LibreWolf and navigate to
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on… and select
copy-tab-urls-firefox.xpi.
For permanent installation in LibreWolf:
- Go to
about:configand setxpinstall.signatures.requiredtofalse. - Go to
about:addons, click the gear icon, and select "Install Add-on From File...". - Select
copy-tab-urls-firefox.xpi.
Note: Firefox/LibreWolf requires a different manifest format than Chrome (background scripts instead of service worker). The build-firefox.sh script creates a Firefox-compatible version automatically.
- Open the popup from the toolbar.
- Decide whether to copy from all browser windows and whether restored URLs should open in a new window.
- Click Copy URLs to Clipboard to capture the list. The popup shows progress and writes the final list to your clipboard.
- Use Restore Last Saved to reopen the most recently copied URLs, or Open URLs from Clipboard to parse a list you already have.
- Review the stats panel for counts, character totals, and last saved timestamps.
- Plain text with one URL per line.
- JSON arrays (e.g.
["https://example.com", "https://openai.com"]). - JSON objects with a
urlsproperty (e.g.{ "urls": ["https://example.com"] }).
Verify the extension on Linux and Windows with Chrome, Brave, Edge, and Firefox:
- Copy URLs from both the current window and all windows and confirm the clipboard contents update.
- Toggle the Open in New Window preference, copy again, and restore the session in each mode.
- Import URLs from the clipboard using newline-separated text, JSON arrays, and
{ "urls": [] }objects. - Confirm internal/privileged URLs such as
chrome://,edge://, andabout:are filtered out. - Trigger copy/restore actions with the popup closed to ensure background notifications and status text remain accurate.
- Refresh the browser and reopen the popup to confirm settings persist via
storage.syncand the last session reloads fromstorage.local.
This project is open-source and available under the MIT License.