Google-chrome – Chrome doesn’t open automatically magnet links anymore

google-chromemagnetmagnet-links

I had to do a profile reset since the "Translate to" option in context menu stopped worked; after I did the reset, any time I open a magnet link instead of it automatically beginning downloading it asks every time to open my torrent manager.

I know I have to go to Preferences file and change "protocol_handler":{} to "protocol_handler":{"excluded_schemes":{"magnet":false}}, and last time it worked, but this time it didn't work: if I open Chrome that changes to "protocol_handler":{"excluded_schemes,*":{"magnet":false}} (,* appears after schemes) and it doesn't work.

If I use the Preference file of my old account that line doesn't change and it does work, but I lose the "Translate to" option.

The handlers option in Chrome's settings is on.

Not sure what's causing this, any idea?

I'm using Chrome 77.0.3865.75 on Windows 10 1903 18362.356.

Best Answer

From a reddit post:

Some time ago Chrome removed the checkbox to "always open" a magnet or torrent link with an external app like qBittorrent.

This was done for security reasons and it may return at some point in the future, once developers have found a way to make it more clear to users what the risks are of allowing certain links to parse whatever data the creator of the link wants to an app (that may be poorly coded) and also once there's some sort of user interface to manage these permissions (up till now you can only undo those permissions by going to "Clear Browsing Data > Cookies and other site data", which makes no sense).

Anyway long story short, you can re-enable the option to have whatever link always be handled by its corresponding app, which saves you a lot of clicking on that stupid confirmation box for every magnet or torrent link you want to download.

Depending on the browser you use (Edge, Chrome or Chromium), add the proper line to your Windows registry. You can do this by saving the code below as a .reg file, for example ShowExternalProtocolWarningBypassCheckbox.reg. Or you can do it manually using regedit.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Chromium]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001

This has been tested on Google Chrome 79 running on Windows 10 Version 1909. There is no need to reboot, just close all instances of Chrome, run the .reg file or make the edits with regedit, then fire up Chrome again.

Now click a magnet link, check the box to always open them in qBittorrent and enjoy single-click downloads once again!

Source where I found all this info: https://textslashplain.com/2019/08/29/web-to-app-communication-app-protocols/

Original Reddit post: https://www.reddit.com/r/qBittorrent/comments/ewxq5o

Related Question