# The browser and VDM aren't connected

When the browser can't hand a download to VDM, it keeps the download itself, so nothing is lost. The extension's toolbar button then shows a red **!**. Click it to see what's wrong, then **How to fix it** brings you to the matching section below.

To check VDM's side, open **Options → General** in VDM and click **Test browser integration...**. It checks that browser integration is on, that this is the installed copy, that the browsers can find VDM, and which browsers' extension has connected; **How to fix it** opens the section for the first that fails.

## VDM isn't installed, or browser integration isn't set up

The browser can't find the small helper program it talks to. It is registered when VDM is installed.

1. Install VDM with the setup from [the download page](https://vdm.mikaillab.com/download.html), and keep **Set up browser integration** ticked.
2. Already installed? Open VDM, then **Options → General → Test browser integration**, and click **Set it up** if it offers to.
3. نسخه قابل‌حمل را نمی‌توان متصل کرد؛ این نسخه چیزی بیرون از پوشه خودش نمی‌نویسد. برای یکپارچه‌سازی مرورگر از نسخه نصب‌شده استفاده کنید. به [حالت قابل‌حمل](https://vdm.mikaillab.com/fa/help/portable.html) مراجعه کنید.
4. **Started VDM from inside a zip?** WinRAR, 7-Zip and Windows itself run a program from inside a zip by unpacking it to a temporary folder, which they delete afterwards. A copy run that way can't be connected (**Test browser integration** says **This copy runs from a temporary folder that will be deleted**): unzip it to a folder of its own first. Older versions of VDM did set browser integration up from there, and left the browsers looking for a copy that was gone (**The browsers are set up for a copy that is gone**). Start your installed VDM, up to date, once: it takes browser integration back by itself.
5. **Edge (or another browser) says "Specified native messaging host not found", though the registry entry looks right?** On 64-bit Windows the browsers read the registry's 32-bit part (`HKLM\Software\WOW6432Node\…`) before the entry you find under `HKLM\Software\…`, and take the first one there, even one that leads to a copy that is gone. **Test browser integration** says **An older registry entry is in the way**, with that entry: click **Set it up** to give your account an entry of its own, which the browsers read before it. VDM also does that by itself at its start when that entry leads nowhere, and its setup for everyone removes it.
6. On Linux and macOS, VDM sets browser integration up itself each time it starts: start VDM once. **Test browser integration** says what went wrong if it couldn't, such as **The helper program the browsers start is missing**: **Set it up** puts it back.
7. پس از تنظیم، مرورگر را دوباره راه‌اندازی کنید.
8. **Zen, Helium, Brave Origin or another browser built on Firefox or Chromium, as your only browser on Linux or macOS?** Older versions of VDM set browser integration up only for the browsers they knew; the current one also knows Brave Origin and the Beta, Dev and Nightly versions of Brave, Chrome and Edge. Update VDM and start it once.
9. **The AppImage on Linux:** the AppImage's files are gone once it quits, so VDM keeps a copy of its helper program in its data folder (`~/.local/share/voltdownloadmanager/browser-host`) and points the browsers there. Start VDM once after moving or renaming the AppImage, or after an AppImage manager (Gear Lever, AppImageLauncher and the like) moved it, so the helper knows where to start it from.
10. **Zen در Windows:** Zen 1.21.15b و نسخه‌های جدیدتر آن یک باگ خاص خود را دارند که مانع از دسترسی افزونه‌ها به برنامه کمکی‌شان می‌شود ([zen-browser/desktop#15432](https://github.com/zen-browser/desktop/issues/15432))، این مشکل با هر افزونه‌ای که از یک برنامه کمکی استفاده می‌کند، رخ می‌دهد. تا زمانی که Zen این مشکل را برطرف کند، Zen 1.21.14b کار می‌کند.

## VDM didn't start in time

When VDM isn't running, the browser starts it for each download and waits for it. It waited about 20 seconds this time and gave up.

- Start VDM yourself and try the download again.
- A first start, a slow disk, or an antivirus scanning VDM can take that long. Next time it is usually quick.
- With a VPN or proxy program, allow connections to `127.0.0.1` (your own computer): the browser's helper reaches VDM through one.
- If VDM never opens, see [The setup or VDM won't start](https://vdm.mikaillab.com/fa/help/troubleshooting.html).

## The connection to VDM failed

The browser started VDM's helper, but it stopped before answering. Security software is the usual cause.

- Allow `voltdownloadmanager-nmhost.exe` (in VDM's folder) in your antivirus or anti-malware program.
- Reinstall VDM to restore its files.
- در Linux، اگر Firefox یا Chromium را به‌صورت Snap نصب کرده‌اید، به [مرورگرهای Flatpak و Snap](#linux-sandbox) مراجعه کنید.
- Uninstalled VDM on Linux? The .deb and .rpm take their browser files with them; the AppImage's and the tar.gz's stay in your home folder: [remove them](https://vdm.mikaillab.com/fa/help/getting-started.html#uninstall-linux), and the extension too.

## VDM doesn't accept this copy of the extension

VDM's helper serves only its own extension. The browser says this copy isn't one it knows.

- **VDM 0.2.x with the extension from the Chrome Web Store?** The store's copy needs a newer VDM: 0.2.x knows only the copy in its own folder. Update VDM with **Help → Check for updates...**. Until then, remove the store's copy and load the one in VDM's folder instead (`extension\chromium`, see [Browser integration](https://vdm.mikaillab.com/fa/help/browser-integration.html#chrome-edge-brave-opera-and-vivaldi)).
- **Two copies installed?** Open the browser's extensions page (`chrome://extensions`, `edge://extensions`, `brave://extensions`) and keep only one **Volt Download Manager**.
- **A copy from elsewhere?** Remove it and add the extension as VDM's **Add Volt Download Manager to your browser** window shows (see [Browser integration](https://vdm.mikaillab.com/fa/help/browser-integration.html)).
- **An older VDM?** Update VDM: a newer extension may have an ID an old helper doesn't know.

## The extension is newer than VDM

Downloads still work, but some of the extension's features need a newer VDM. Update it with **Help → Check for updates...** in VDM.

If VDM says it's up to date, there's nothing for you to do. The extension updates by itself through its store and can get ahead of the app for a while. Everything keeps working, and the message goes away with the next version of VDM.

## جزئیات یک بارگیری بیش از حد بزرگ بود

A download carries its site's cookies (and a form's data) to VDM. A few sites set so many that together they exceed what VDM accepts from the browser (1 MB). The browser kept this one. Signing out and back in to the site usually trims them.

**بارگیری همه پیوندها** و **بارگیری پیوندهای انتخاب‌شده** فهرستی طولانی از پیوندها را در بخش‌هایی تا 1 مگابایت ارسال می‌کنند تا صفحه‌ای با ده‌ها هزار پیوند به طور کامل به رباینده پیوند برسد. یک پیوند تکی که طولانی‌تر از این باشد و هیچ سروری آن را نپذیرد، قابل ارسال نیست: حذف می‌شود، بقیه پیوندها همچنان به رباینده پیوند می‌رسند و این صفحه باز می‌شود تا این موضوع را اعلام کند. وقتی کوکی‌های یک سایت به تنهایی 1 مگابایت را پر می‌کنند، هیچ پیوندی نمی‌تواند با آن‌ها ارسال شود: مانند بالا، از سایت خارج شوید و دوباره وارد شوید.

## Downloads stay with the browser although VDM is connected

The extension is connected, but VDM's own settings leave this download to the browser. Check, in VDM:

1. **گزینه‌ها → عمومی → استفاده از یکپارچه‌سازی پیشرفته مرورگر** فعال باشد و مرورگر شما در بخش **دریافت بارگیری‌ها از مرورگرهای زیر** علامت خورده باشد.
2. نوع فایل در **گزینه‌ها → انواع فایل** فهرست شده باشد.
3. سایت در **بارگیری از سایت‌های زیر را خودکار آغاز نکن** و نشانی در **بارگیری از نشانی‌های زیر را خودکار آغاز نکن** نباشد.
4. اندازه فایل از حد تعیین‌شده در **فایل‌های کوچک‌تر از** در **گزینه‌ها → انواع فایل** کمتر نباشد.
5. For a `.torrent` file: **Open magnet links and .torrent files with Volt Download Manager** is on in **Tasks → Torrent settings**.

دکمه افزونه در نوار ابزار را هم بررسی کنید: اگر **دریافت بارگیری‌ها از این مرورگر** غیرفعال باشد، همه بارگیری‌ها در مرورگر می‌مانند.

## مرورگر به جای ارسال، PDF و موسیقی را باز می‌کند

VDM also takes the file types the browser would show or play itself (a PDF, an MP3, also in a frame of a page), when they're listed in **Options → File types** and **Also take files the browser would open** is ticked in **Options → General → Keys...**. This needs a Chromium browser (Chrome, Edge, Brave, Opera, Vivaldi) version 128 or later, or Firefox. Sites in VDM's excluded sites keep opening them in the browser. Hold **Alt** (**Option** on a Mac) while clicking a link to leave it to the browser: the extension follows it as a plain click does (the browser opens or downloads it, and a site's bot check runs in the tab first), instead of the browser's own Alt+click, which saves the link without opening it in Chromium browsers and Safari.

## دکمه «دانلود ویدیو» در YouTube در Chrome، Edge یا Brave نمایش داده نمی‌شود

نسخه افزونه از فروشگاه وب Chrome، قبل از نسخه 0.5.1، دکمه **دانلود ویدیو** را در YouTube نشان نمی‌داد. از نسخه 0.5.1 به بعد آن را نشان می‌دهد. مرورگر شما افزونه‌ها را به‌طور خودکار به‌روز می‌کند؛ برای دریافت سریع‌تر آن، صفحه افزونه‌های مرورگر خود را باز کرده و آنها را از آنجا به‌روز کنید.

You can always save a video without the button: in VDM, open **Tasks → Download video from a page** and paste the video's address.

## افزونه نمی‌تواند این سایت را بخواند

In Chrome, Edge and Brave you can limit an extension to some sites (right-click its toolbar button → **This can read and change site data**). On a site it may not read, the extension can't pass your sign-in on, so it leaves the download to the browser. Choose **On all sites** to let VDM take downloads everywhere.

## پنجره بازشو می‌گوید این نسخه به صورت دستی بارگیری شده است

نسخه‌ای که با **Load unpacked** (Chrome، Edge، Brave، Opera، Vivaldi) یا **Load Temporary Add-on** (Firefox) بارگیری شده باشد، خودکار به‌روز نمی‌شود و پنجره بازشوی دکمه نوار ابزار آن این موضوع را با پیوندی به فروشگاه مرورگر اعلام می‌کند. افزونه را از آن پیوند اضافه کنید، سپس نسخه بارگیری شده به صورت دستی را از صفحه افزونه‌های مرورگر (`chrome://extensions`، `edge://extensions`، `about:addons`…) حذف کنید تا مرورگر دو نسخه را اجرا نکند. نسخه فروشگاه همان افزونه است و مرورگر آن را به‌روز نگه می‌دارد.

## Firefox پس از راه‌اندازی مجدد، افزونه را فراموش می‌کند

افزونه‌ای که با **بارگذاری افزونه موقت** (از `about:debugging`) بارگذاری شده باشد، با بسته شدن Firefox حذف می‌شود. آن را حذف کنید و افزونه را از [صفحه آن در addons.mozilla.org](https://addons.mozilla.org/firefox/addon/volt-download-manager/) نصب کنید: Firefox آن را نگه می‌دارد و به‌روزرسانی می‌کند.

## Linux: مرورگرهای Flatpak و Snap

Browsers installed as a Flatpak or a Snap run in a sandbox, which decides whether they can reach VDM.

- **Firefox as a Snap** (Ubuntu's own Firefox) reaches VDM through the desktop, which reads the browser files in your home folder and those the .deb or .rpm installs for everyone. The first time the extension calls VDM, the desktop asks **Allow Firefox to start WebExtension backend?** for Volt Download Manager: choose **Allow**. After **Don't allow**, the extension says the connection failed and the desktop doesn't ask again; to be asked again, run this in a terminal, then use the extension again:

`gdbus call --session --dest org.freedesktop.impl.portal.PermissionStore --object-path /org/freedesktop/impl/portal/PermissionStore --method org.freedesktop.impl.portal.PermissionStore.Delete webextensions com.voltdownloadmanager.host` - **Chromium as a Snap** (Ubuntu's Chromium) starts VDM's helper inside its sandbox, where it can't reach VDM, so VDM doesn't list it in **Add Volt Download Manager to your browser**. Use Firefox, or Google Chrome from its own `.deb`. - **Flatpak browsers** (such as Zen's `app.zen_browser.zen`) can't start VDM's helper, so VDM doesn't list them either. Install the browser from your distribution's packages (or the browser maker's own `.deb`, `.rpm`, tarball or AppImage) to use browser integration.

## مراحل بعدی

- [ادغام مرورگر ←](https://vdm.mikaillab.com/fa/help/browser-integration.html)
- [عیب‌یابی →](https://vdm.mikaillab.com/fa/help/troubleshooting.html)
- [بازگشت به فهرست اسناد →](https://vdm.mikaillab.com/fa/help/)

## مرتبط

- [گزارش‌های خرابی](https://vdm.mikaillab.com/fa/help/crash-reports.html)
- [عیب‌یابی](https://vdm.mikaillab.com/fa/help/troubleshooting.html)

[این صفحه را در GitHub ویرایش کنید](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/browser-help.md) [گزارش یک مشکل در این صفحه](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20The%20browser%20and%20VDM%20aren%27t%20connected&page=https%3A//vdm.mikaillab.com/help/browser-help.html) [تاریخچه صفحه](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/browser-help.md)

رایگان، متن‌باز، بدون تبلیغات، بدون دوره آزمایشی.

[Download Volt Download Manager](https://vdm.mikaillab.com/fa/download.html)
