Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

Version 0.5.1: the Download video button on YouTube in the Chrome Web Store's copy (#325)

Ahmed Nefzaoui8d2c73fcc335
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a507bcd1..f2589c7b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,12 +3,18 @@
Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see
`.github/workflows/release.yml`).
-## [Unreleased]
+## [0.5.1] - 2026-11-08
+
+YouTube fixes for the Download video button, and the button in Chrome, Edge and Brave.
+
+### Added
+
+- **The Download video button on YouTube in Chrome, Edge, Brave, Opera and Vivaldi:** the copy of the extension from the Chrome Web Store shows it now, as Firefox's does.
### Fixed
- **The Download video button took the wrong video on YouTube** ([#311](https://github.com/anefzaoui/misterdownloadmanager/issues/311), thanks to [@mayankmohan1992](https://github.com/mayankmohan1992)): YouTube moves from one video to the next without loading a new page, and the browser kept naming the page it first loaded, so MDM got the video watched before. On the home page, a search or a channel it got that whole page instead, and offered about 50 videos. The button now sends the video playing in the player it's on, and a Short as the Short it is.
-- **Media on this page says why it's empty**: on a player that streams in pieces there's no file to list, and it says to use the button over the video instead of asking you to play it again. On YouTube, the Chrome Web Store's copy says that store's rules keep it off the site's videos ([what you can do](https://misterdownloadmanager.com/help/browser-help.html#store-youtube)).
+- **Media on this page says why it's empty**: on a player that streams in pieces there's no file to list, and it says to use the button over the video instead of asking you to play it again.
- A page's own short sounds (a click, a voice-search chime) are no longer listed in **Media on this page**.
## [0.5.0] - 2026-11-08
diff --git a/Cargo.lock b/Cargo.lock
index bf65383b..c7f2b644 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4428,7 +4428,7 @@ dependencies = [
[[package]]
name = "mdm-app"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"arboard",
"base64 0.23.1",
@@ -4488,7 +4488,7 @@ dependencies = [
[[package]]
name = "mdm-cli"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"anyhow",
"clap",
@@ -4507,7 +4507,7 @@ dependencies = [
[[package]]
name = "mdm-crash"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"breakpad-symbols",
"chrono",
@@ -4532,7 +4532,7 @@ dependencies = [
[[package]]
name = "mdm-debrid"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"bytes",
"futures",
@@ -4551,7 +4551,7 @@ dependencies = [
[[package]]
name = "mdm-engine"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"base64 0.23.1",
"bytes",
@@ -4595,7 +4595,7 @@ dependencies = [
[[package]]
name = "mdm-extract"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"flate2",
"lzma-rust2",
@@ -4608,7 +4608,7 @@ dependencies = [
[[package]]
name = "mdm-geo"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"lzma-rust2",
"png 0.18.1",
@@ -4617,7 +4617,7 @@ dependencies = [
[[package]]
name = "mdm-ipc"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"craft-atomic",
"dirs 7.0.0",
@@ -4629,7 +4629,7 @@ dependencies = [
[[package]]
name = "mdm-labserver"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"anyhow",
"axum",
@@ -4654,7 +4654,7 @@ dependencies = [
[[package]]
name = "mdm-mcp"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"mdm-ipc",
"rmcp",
@@ -4668,7 +4668,7 @@ dependencies = [
[[package]]
name = "mdm-nmhost"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"chrono",
"mdm-ipc",
@@ -4679,7 +4679,7 @@ dependencies = [
[[package]]
name = "mdm-remote"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"aws-lc-rs",
"axum",
@@ -4700,7 +4700,7 @@ dependencies = [
[[package]]
name = "mdm-tools"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"aws-lc-rs",
"base64 0.23.1",
@@ -4724,7 +4724,7 @@ dependencies = [
[[package]]
name = "mdm-torrent"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"flate2",
"librqbit",
diff --git a/Cargo.toml b/Cargo.toml
index 118abd58..34a895e6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ resolver = "3"
members = ["crates/*"]
[workspace.package]
-version = "0.5.0"
+version = "0.5.1"
edition = "2024"
rust-version = "1.95"
license = "GPL-3.0-or-later"
diff --git a/ROADMAP.md b/ROADMAP.md
index b2d980d6..366401da 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -426,16 +426,19 @@ Everything below ships together, in version 0.5.0.
docs, the README and the website brought up to date
([#186](https://github.com/anefzaoui/misterdownloadmanager/issues/186))
+## Version 0.5.1
+
+- ✅ The Download video button on YouTube: the video playing now instead of the one before or a
+ whole list, Shorts included
+ ([#311](https://github.com/anefzaoui/misterdownloadmanager/issues/311))
+- ✅ The Download video button on YouTube in Chrome, Edge, Brave, Opera and Vivaldi
+
## Being worked on
These ship in a later version, when they're ready.
### Being built
-- 🔄 The Download video button on YouTube: the video playing now instead of the one before or a
- whole list, Shorts included
- ([#311](https://github.com/anefzaoui/misterdownloadmanager/issues/311)); done, for the next
- release of the add-on
- 🔄 Linux, what's left ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):
screen readers (Orca) reading MDM's windows; browsers installed as a Flatpak (Firefox from
Flathub may reach MDM through the desktop, as the Snap does: to check); native Wayland windows
diff --git a/docs/browser-help.md b/docs/browser-help.md
index 8a5e871e..0bf0bb68 100644
--- a/docs/browser-help.md
+++ b/docs/browser-help.md
@@ -75,12 +75,9 @@ MDM also takes the file types the browser would show or play itself (a PDF, an M
## No Download video button on YouTube in Chrome, Edge or Brave {#store-youtube}
-The copy of the extension from the Chrome Web Store shows no **Download video** button on YouTube, and its **Media on this page** list says so: that store's policy forbids downloading from YouTube. Chrome, Edge, Brave, Opera and Vivaldi all install from that store, so all of them are affected. Firefox's copy, from its own add-ons store, shows the button.
+The copy of the extension from the Chrome Web Store showed no **Download video** button on YouTube before version 0.5.1. From 0.5.1 it shows it. Your browser updates extensions by itself; to get it sooner, open its extensions page and update them there.
-To save a YouTube video from one of those browsers:
-
-- In MDM, open **Tasks → Download video from a page** and paste the video's address.
-- Or use the copy of the extension in MDM's own folder instead of the store's, which shows the button: [install it by hand](browser-integration.md#chrome-edge-brave-opera-and-vivaldi).
+You can always save a video without the button: in MDM, open **Tasks → Download video from a page** and paste the video's address.
## The extension can't read this site {#site-access}
diff --git a/docs/browser-integration.md b/docs/browser-integration.md
index ee4dd2d0..e5d01303 100644
--- a/docs/browser-integration.md
+++ b/docs/browser-integration.md
@@ -159,8 +159,6 @@ If MDM can't be reached when you choose one of these, the help page opens at the
Point at a video on a web page and a small **Download video** button appears at its edge. Click it and MDM's **Download video from a page** window opens and looks up the qualities it can download. It takes the video you clicked: its own file when it plays one, or the stream the player loaded (HLS or DASH), else the page. When the button can't tell which one you mean, the toolbar button's [Media on this page](#media-on-this-page) lists them all. Embedded players work too, and your sign-in for the site, the page that embeds the player and your browser's User-Agent go with it, so videos for members, or that play only on the site that embeds them, can be downloaded. Sound players get the button too.
-The copy of the extension from the Chrome Web Store doesn't show it on YouTube: [why, and what you can do](browser-help.md#store-youtube).
-
It stays out of the way: it shows only while you point at a video (or the player has the keyboard's focus; **Tab** then moves to the button), fades when the pointer rests, and leaves out small videos and short muted loops (animated pictures, backgrounds). In fullscreen it follows the video when the player allows it. On a copy-protected video (DRM) it says that the video can't be saved.
- **Move it**: drag it anywhere along the video's edge; it snaps to the nearest edge and stays there on that site.
diff --git a/tools/extension/check-pack.mjs b/tools/extension/check-pack.mjs
index cf76065d..3340d2a0 100644
--- a/tools/extension/check-pack.mjs
+++ b/tools/extension/check-pack.mjs
@@ -2,7 +2,7 @@
// node tools/extension/check-pack.mjs
// Each package carries the app's version and every file its manifest names; the unpacked copy's
// key gives the ID the native host serves (crates/ipc/src/extension.rs); the Chrome Web Store's
-// copy has no key and no video button on YouTube; Firefox's has its add-on ID.
+// copy has no key; Firefox's has its add-on ID.
import { createHash } from "node:crypto";
import { existsSync, readFileSync } from "node:fs";
import assert from "node:assert/strict";
@@ -38,7 +38,7 @@ for (const kind of ["chromium", "chrome-store", "firefox"]) {
if (kind === "chrome-store") {
assert.equal(m.key, undefined, "the store signs it with its own key");
const video = m.content_scripts.find((c) => c.js.includes("video.js"));
- assert.ok(video && (video.exclude_matches || []).some((p) => p.includes("youtube.com")), "no button on YouTube");
+ assert.ok(video && !(video.exclude_matches || []).length, "the video button runs everywhere, YouTube included");
}
if (kind === "firefox") assert.equal(m.browser_specific_settings.gecko.id, firefoxId);
}
diff --git a/tools/extension/pack.ps1 b/tools/extension/pack.ps1
index 6d367865..95a778a1 100644
--- a/tools/extension/pack.ps1
+++ b/tools/extension/pack.ps1
@@ -40,19 +40,12 @@ foreach ($kind in "chromium", "firefox") {
[IO.File]::WriteAllText((Join-Path $dir "manifest.json"), $json, (New-Object Text.UTF8Encoding $false))
}
# The Chrome Web Store's copy of the chromium folder. The store signs it with its own key (it
-# refuses a manifest that carries "key"; the native host knows both IDs), and its policy forbids
-# downloading YouTube videos, so the button over videos stays off YouTube there. The app's own
-# Download video window still takes any page.
+# refuses a manifest that carries "key"; the native host knows both IDs).
$store = Join-Path $out "chrome-store"
if (Test-Path $store) { Remove-Item -LiteralPath $store -Recurse -Force }
Copy-Item (Join-Path $out "chromium") $store -Recurse
$manifest = Get-Content (Join-Path $store "manifest.json") -Raw | ConvertFrom-Json
$manifest.PSObject.Properties.Remove("key")
-# The video button's entry, by its file (not its place in the list).
-$video = $manifest.content_scripts | Where-Object { $_.js -contains "video.js" } | Select-Object -First 1
-if (-not $video) { throw "no content script entry runs video.js" }
-$video | Add-Member -NotePropertyName exclude_matches -NotePropertyValue @(
- "*://*.youtube.com/*", "*://*.youtube-nocookie.com/*", "*://youtu.be/*")
$json = $manifest | ConvertTo-Json -Depth 10
[IO.File]::WriteAllText((Join-Path $store "manifest.json"), $json, (New-Object Text.UTF8Encoding $false))
Add-Type -AssemblyName System.IO.Compression, System.IO.Compression.FileSystem
diff --git a/tools/installer/mdm.iss b/tools/installer/mdm.iss
index 49cf560e..4b40cba9 100644
--- a/tools/installer/mdm.iss
+++ b/tools/installer/mdm.iss
@@ -9,7 +9,7 @@
; Windows Credential Manager (misterdownloadmanager --forget-sign-ins).
#ifndef AppVersion
- #define AppVersion "0.5.0"
+ #define AppVersion "0.5.1"
#endif
#define AppName "Mister Download Manager"
#define AppExe "misterdownloadmanager.exe"
diff --git a/tools/website/build.py b/tools/website/build.py
index 881ed410..d459179b 100644
--- a/tools/website/build.py
+++ b/tools/website/build.py
@@ -58,7 +58,7 @@ NAME = "Mister Download Manager"
# says "Coming with version <this>" (coming_banner(): the feature pages, the Themes page, the
# features' tiles), shown for a feature whose `since` is this version or later. At that release
# set it to "" and every banner goes at once; a published release at or past it hides them too.
-UPCOMING = "0.5.0"
+UPCOMING = "0.5.1"
CARGO_VERSION = re.search(r'(?m)^version\s*=\s*"([^"]+)"', (ROOT / "Cargo.toml").read_text("utf-8")).group(1)
diff --git a/website/content/features/browser-extension.md b/website/content/features/browser-extension.md
index 5d418e77..ed6c3079 100644
--- a/website/content/features/browser-extension.md
+++ b/website/content/features/browser-extension.md
@@ -48,8 +48,7 @@ extension: Firefox 140 or later takes it from addons.mozilla.org, and Chrome, Ed
and Vivaldi from the Chrome Web Store. The browser keeps it updated.
Some limits, plainly: the portable copy can't connect to a browser, since it writes nothing
-outside its folder. The Chrome Web Store copy shows no button over YouTube videos, which the
-store's policy forbids; **Tasks → Download video from a page** still takes any page.
+outside its folder.
## More of the browser, in version 0.5.0