[Feature Proposal] IDM-style Floating Download Bar, Direct "Copy Link" & Tab Cleanup
Checklist
- I'm reporting a feature request
- I've verified that I'm running xdm latest version
- I've searched the bugtracker for similar feature requests including closed ones
Description
First of all, thank you so much for creating and maintaining XDM! It is by far one of the best open-source download managers available, and I really appreciate the work that goes into the project.
As someone who recently transitioned from Internet Download Manager (IDM), I noticed a few quality-of-life features that could make XDM even more competitive. I have already implemented and locally tested the browser extension improvements below, and I am ready to submit a Pull Request (PR) or share the code.
Here is an overview of what was implemented in the extension:
IDM-style Floating Bar
- Appears automatically when downloadable media is detected.
- Provides a one-click download button when only one video is available.
- Displays a dropdown menu when multiple video resolutions are detected.
- Can be dragged to any position on the screen, with the position saved for future visits.
- Includes a close (✕) button to dismiss it for the current page session.
- Runs only in the top frame to avoid duplicate buttons inside iframe players or advertisements.
Direct "Copy Link" Button
- Adds a dedicated copy button to the floating bar.
- Also available in the extension's popup list.
- Allows stream URLs to be quickly copied for remote uploading, VLC, or other uses.
Smart Stream Deduplication
- Keeps distinct video qualities (such as 720p and 1080p).
- Removes duplicate URLs.
- Filters out small thumbnail/preview resources (under 3 MB).
Automatic Cleanup on Page Refresh
- Clears the tab's detected video list when the page is refreshed (F5).
- Also clears the list when navigating to a new URL.
Additional Suggestion for the Desktop App (C# Core)
(Note: While the features above were implemented by me in the browser extension, this point is a feature suggestion for the desktop client, as it requires changes to the native app engine):
- Pre-buffering / Background Download While Prompt is Open:
- In IDM, as soon as the "Download File Info" dialog appears, the download engine immediately starts fetching data in the background into the temp folder.
- By the time the user finishes choosing the folder or renaming the file, a significant portion (or all) of the file is already downloaded.
- Implementing this background pre-buffering in the XDM desktop app while the save dialog is displayed would make downloads feel truly instantaneous, just like IDM.
⚠️ Full Disclosure & Request for Review
I want to be completely transparent: I developed the extension changes with the guidance and assistance of an AI coding assistant, while making the implementation decisions and manually testing the results myself.
My verification so far has been limited to manual browser testing across several video-sharing websites. Everything has been working reliably in my personal testing, but I fully understand that the code will require your review before it could be considered for inclusion in the official extension.
Please let me know if you would like me to open a Pull Request with the extension changes or provide the modified files directly!
Thank you again for your time and for maintaining such a great project!
Source: subhra74/xdm