Skip to content

WebUI: paste torrent links anywhere to add them immediately#24400

Open
rickycodes wants to merge 2 commits into
qbittorrent:masterfrom
rickycodes:paste-links-anywhere
Open

WebUI: paste torrent links anywhere to add them immediately#24400
rickycodes wants to merge 2 commits into
qbittorrent:masterfrom
rickycodes:paste-links-anywhere

Conversation

@rickycodes

@rickycodes rickycodes commented May 28, 2026

Copy link
Copy Markdown

Hi there, I thought the webUI could use this (it basically mimics what the desktop client does).

Summary

Allow pasting torrent links anywhere in the WebUI to immediately add them without focusing a specific
input.

What changed

  • Added document-level paste handling in the main WebUI.
  • Recognize pasted magnet links, plain URLs, and raw info hashes even when wrapped in quotes or angle
    brackets.
  • Reuse the existing window.qBittorrent.<Module> structure instead of adding ad hoc globals.

Testing

  • Added unit coverage for quoted and angle-bracket-wrapped torrent links.

@rickycodes rickycodes force-pushed the paste-links-anywhere branch from d4543f1 to 08555f5 Compare June 17, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant