Skip to content

feat: Open URL lists from the urlbar in multiple tabs#12508

Open
salmonumbrella wants to merge 1 commit intozen-browser:devfrom
salmonumbrella:feat/multi-url-paste
Open

feat: Open URL lists from the urlbar in multiple tabs#12508
salmonumbrella wants to merge 1 commit intozen-browser:devfrom
salmonumbrella:feat/multi-url-paste

Conversation

@salmonumbrella
Copy link
Copy Markdown
Contributor

@salmonumbrella salmonumbrella commented Feb 25, 2026

Summary

  • Detect when a user pastes or types a list of URLs/domains into the urlbar and open each in a separate tab
  • Only allow http and https schemes — file://, ftp://, javascript:, data:, and about: are all blocked
  • Preserve URLs with balanced parentheses (e.g. Wikipedia links)
  • Cap at 20 tabs per paste with a confirmation dialog via OpenInTabsUtils
  • Recognise common list formats: whitespace, commas, semicolons, numbered lists, lettered lists, bullet points

I am looking to solve accidentally pasting more than one URL, without adding bloat to Zen.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Feature labels Feb 25, 2026
…lbar, tests

- Handle pasted or typed URL/domain lists in the urlbar command path
- Validate list-like input, cap parsing, and use OpenInTabsUtils + loadTabs flow
- Preserve balanced parens in URLs (e.g. Wikipedia links)
- Only allow http/https schemes for security
- Recognise numbered and lettered list separators
- Add browser tests for extraction, safety, detection, and tab opening
@mr-cheffy
Copy link
Copy Markdown
Member

Interesting! I wonder how annoying more than useful it could be though, i'll have a discussion about this internally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants