Clipboard Tabber

← All AI-created software

This is AI-generated (aka vibe-coded) software. It is specific to my needs and my system and may not work for you or yours. Support is limited, but if you report a bug I'll certainly look into it. The code is provided in the zip file for you to review should you choose.
⬇️ Download Clipboard Tabber.zip153.2 KBLast Updated: November 27, 2026Vivaldi

Clipboard Tabber is for link dumps. Copy a block of text, click the toolbar icon, and it lists every link it found so you can choose which ones to open as tabs, save to a dated bookmarks folder, or add to the reading list. It also works the other way round and copies your open tabs out to the clipboard. It helps when someone sends you twenty links in a chat message, an email or a spreadsheet column.

The Clipboard Tabber popup listing five links from the clipboard, with the local network link unticked
On this page

Install

  1. Put this folder somewhere permanent. The browser reads the files from disk on every start, so don’t leave it in a Downloads folder you clear out.
  2. Open vivaldi://extensions (or chrome://extensions) and turn on Developer mode.
  3. Click Load unpacked and pick this folder.
  4. Pin the toolbar icon if you want it always visible.

It needs Chrome 127 or later (Vivaldi on the same engine). On a Chromium browser without the reading list API, the Reading list button hides itself.

Using it

The popup

Copy some text and click the icon. The popup reads the clipboard as it opens and lists each link with a checkbox. Untick the ones you don’t want, then choose Open tabs, Bookmark or Reading list. Nothing happens until you click one of them.

  • Open tabs opens the ticked links five at a time, with a short pause between batches. Past 15 links it asks for a second click.
  • Bookmark saves them to a new folder named with the date and time, under Other bookmarks.
  • Reading list adds them to the browser’s reading list. Links already on it are counted as skipped.
  • Copy this window’s tabs puts every web URL in the current window on the clipboard, as a plain list or as Markdown links with page titles.

If the browser blocks the clipboard read, the popup opens a text box instead: paste there and click Scan this text. The box is always available under Paste text instead.

Links are cleaned up on the way. Trailing punctuation is trimmed, so https://example.com, in a sentence still works, and tracking parameters such as utm_source, fbclid and gclid are removed. Links that differ only by www., a trailing slash or capital letters in the host count as one.

Links to localhost, 192.168.x.x, 10.x.x.x and other addresses on this computer or your network are marked local network and start unticked. So are public names that lead to one, such as 192.168.1.1.nip.io, 10-0-0-1.sslip.io or localtest.me. This stops a page from using something you copy or select to make your browser reach your router or a dev server.
Tick them to open them, or turn on Treat local network links like any other in the options.

Keyboard shortcuts

Shortcut Action
Alt+Shift+V Open the popup
Alt+Shift+O Show every link on the clipboard in the popup. With previews turned off, open them straight away unless there are more than the threshold or any local links
Alt+Shift+C Copy this window’s tab URLs to the clipboard

When a shortcut doesn’t show the popup, the toolbar badge reports what happened: a blue count for tabs opened, green for tabs copied, a grey 0 when nothing was found, and an amber ? when the clipboard couldn’t be read (the popup then opens instead).
Change clashing shortcuts at vivaldi://extensions/shortcuts, which the options page links to.

Right-click menu

Select text on a page, right-click and choose Open links in selection. Nothing has to be copied first. Only text you can see counts: the menu leaves out text the page has hidden with near-zero opacity, a tiny font, a one-pixel clip, off-screen positioning, a scale() transform, a transparent colour or the background’s colour.

The shortcut and the menu show the links in the popup first, because a page can change what you copy or hide links in text you select. Turn off Show links before the shortcut or menu opens them to have them open ordinary links straight away. A list longer than the threshold, or one with local links, still shows the popup.

Options

Open the options with the gear in the popup. Everything saves as you change it, and settings follow your profile through browser sync.

Setting Default Notes
Confirmation threshold 15 tabs A second click is needed above this
Keep current tab in focus on Off switches to the first link once the batch finishes
Remove tracking parameters on Applies to opening and saving
Batch size 5 tabs
Delay between batches 400 ms 0 turns off throttling
Copy tabs as one URL per line Or Markdown links with titles
Treat local network links like any other off On ticks local links and lets the shortcut and menu open them directly
Show links before the shortcut or menu opens them on Off lets them open up to the threshold of ordinary links without the popup

Backup and restore

The options page can back up every setting, including the backup schedule, to a JSON file. Scheduled backups are saved into a folder inside Downloads (Clipboard Tabber Backups by default) every 7 days, checked hourly while the browser is open. Only the newest backup from each earlier day is kept, for as many days as Earlier backups to keep allows (3 by default), and the latest backup is always kept. Old backups are removed only after the new one has saved, and files saved anywhere else are never touched.

Back up now saves a backup straight away.
Restore reads a backup file, shows what it holds and, once you confirm, replaces the settings and the schedule. Settings missing from the file keep their current values. A restored file is checked the same way as the settings form, so a crafted file can’t store anything the form wouldn’t. The schedule and last backup time stay in storage.local, since backups go to this machine’s Downloads folder.

Files

File Purpose
manifest.json Manifest V3, module service worker, shortcuts
background.js Service worker: shortcuts, right-click menu, badge, popup hand-off and scheduled backups
lib.js Settings, sanitizeSettings, link extraction and cleaning, isLocalUrl, opening and saving, backup file build and parse (tested in Node)
popup.html, popup.js Popup: preview, actions and status
options.html, options.js Options page: auto-save, limits, reset, backup and restore
offscreen.html, offscreen.js Clipboard read and write for the service worker
styles.css Styles for both pages, including dark mode
screenshot.png The popup, for this README
shared/backup.js Shared backup helpers and scheduler, on globalThis.SharedBackup. Do not edit here
shared/sender.js Shared message-sender checks. Do not edit here
shared/suite.js Link to the Plugin Suite Backup Manager, on globalThis.SuiteLink. Do not edit here
shared/brand.js The “Made by infolific.com” footer on this plugin’s pages (logo, plugin page and hub links). Do not edit here
shared/infolific.png, shared/infolific-24.png The infolific.com logo, for the footer and (24px) the top of this README
test_links.mjs Node tests for link extraction and local network links
test_backup.mjs Node tests for settings, the backup schedule and backup files
icons/ Toolbar and extension icons

Permissions

Permission Why
clipboardRead Read the copied text
clipboardWrite Copy the tab list out
tabs Read tab URLs and titles for copying tabs out
bookmarks Create the dated bookmarks folder
readingList Add entries to the reading list
storage Settings, backup schedule and the popup hand-off
contextMenus The right-click menu item
activeTab, scripting Read the visible selection in the tab you right-clicked
offscreen Give the service worker clipboard access
alarms Hourly check for whether a scheduled backup is due
downloads Saving scheduled backups and removing old ones

No host permissions are requested. The only code the extension runs in a page is the selection read, in the tab you right-clicked, when you right-click it.

Security notes

  • Text from the shortcut or the menu may be a page’s doing, so by default it goes to the popup through storage.session instead of opening directly. Content scripts can’t read session storage.
  • Tabs the extension opens count as typed into the address bar, so sites send all their cookies. That is why local network links start unticked and always force a preview.
  • isLocalUrl in lib.js covers loopback, private ranges, local-only names and public names that resolve to a private address.
  • The service worker only starts a backup for the options page (shared/sender.js fromExtensionPage), and the offscreen document only answers the service worker, so a web page can’t read the clipboard or start a download through them.
  • Settings from storage, the form or a backup file all go through sanitizeSettings.
  • Text from the clipboard and page titles is written with textContent, never innerHTML.
  • The link to the Plugin Suite Backup Manager (shared/suite.js) answers only the manager’s fixed extension id. It can report the backup schedule and last backup, start a backup, and open the restore page with a backup file. It never writes settings itself, so a file it hands over goes through the same checks and confirmation as one picked on that page.

Implementation notes

  • Tabs are always created inactive. Creating an active tab closes the popup, which would stop the loop partway through.
    With Keep current tab in focus off, the first tab is activated only after the run completes.
  • The service worker borrows a clipboard. Service workers have no DOM, so the shortcuts use an offscreen document that reads or writes with document.execCommand. The async clipboard API needs focus, which an offscreen document never has.
  • The selection is read live. The menu reads the selection through chrome.scripting rather than info.selectionText, which the browser truncates. If the page can’t be read that way, it falls back to the browser’s copy, which includes hidden text, so that run always shows the popup.
  • The popup hand-off. When a run needs a look, the service worker saves the text in storage.session, puts the link count on the badge and calls chrome.action.openPopup(). The popup takes the text on its next open if it is under ten minutes old.
  • Bookmark folder lookup is defensive. It prefers the node with folderType === 'other', then the id '2', then the last root child, since ids vary across Chromium forks.
  • Reading list entries need a title before the page has loaded, so one is made from the host and path.
  • Deduplication is normalised, opening is not. The URL that opens is the one that was on the clipboard, minus tracking parameters.

Known limitations

  • Only explicit http:// and https:// links are found. Bare example.com, mailto: and ftp: are ignored.
  • Links that exist only as HTML href attributes aren’t seen unless the URL is also visible as text.
  • Redirect wrappers such as Outlook SafeLinks and google.com/url?q= aren’t unwrapped.
  • Selected text covered by another element still counts, which is one reason the preview is on by default.
  • The badge can linger if the browser suspends the service worker before its timer clears it.
  • If chrome.action.openPopup() fails, the link count stays on the badge in orange: click the toolbar icon to see the list.
  • Backups that land in Downloads as download.json mean another extension that renames downloads is overriding the name.
    Download Router puts it back; for others, turn them off or check their settings.

Tests

node test_links.mjs
node test_backup.mjs

Version history

2.8.0 — infolific.com branding: a “Made by infolific.com” footer on the options and popup pages, linking to this plugin’s page and the infolific.com hub for AI-created software (shared/brand.js); a small infolific.com badge on the icons; and the manifest’s homepage_url points to the plugin’s page, so the extensions page shows a Website link.

2.7.0 — Works with the new Plugin Suite Backup Manager, which shows this plugin’s backup schedule and last backup, can start a backup, and can hand a backup file to the restore page here.
Only the manager’s extension id is answered (shared/suite.js).

2.6.2 — The backup message check uses the suite’s shared shared/sender.js and accepts only the options page.
README rewritten in the suite’s standard layout, with a screenshot.

2.6.1 — Scheduled backups run on the suite’s shared backup code (shared/backup.js). Backup files, and restoring old ones, are unchanged.

2.6 — The shortcut and right-click menu show links in the popup before opening them, by default. Tabs the extension opens count as typed into the address bar, so sites send all their cookies, which made a hijacked copy more dangerous than a clicked link. Public names that lead to a private address (nip.io, sslip.io, localtest.me and names with a private address in them) count as local network links. The right-click menu also ignores transparent, background-coloured, faded and scaled-down text, and always previews when it has to fall back to the browser’s copy of the selection.

2.2 — The shortcut and right-click menu show the popup instead of opening links when there are more than the threshold or any local network links. Local network links start unticked in the popup. The right-click menu ignores selected text the page has hidden.
The clipboard and backup handlers only answer the extension itself.

2.1.1 — Backups keep their folder and name when Download Router or another extension that renames downloads is installed, and Clipboard Tabber no longer stops Download Router’s rules from working.

2.1 — Scheduled backups of every setting, with a frequency in days, a number of earlier backups to keep counted by calendar day, and a folder inside Downloads; Back up now and Restore on the options page.

2.0 — Preview step with per-link checkboxes; batched opening; bookmarks and reading list destinations; copy window tabs to clipboard; keyboard shortcuts; selection context menu; manual paste fallback; options page; tracking-parameter stripping; dark mode.

1.0 — Read clipboard, open every link found.

⬇️ Download Clipboard Tabber.zip153.2 KBLast Updated: November 27, 2026Vivaldi

← All AI-created software