Home > Computer, Tips 'n' Tricks > How to open Magnet links From FireFox

How to open Magnet links From FireFox

If you have tried in most of the cases the magnet links will not open if we just click on the link torrent sites provide. It just throws some error. But not anymore. now after reading this article you will be able to click the magnet link and firefox will open your favourite torrent client and start download.

For Windows:

Open NotePad and type the following in it:

REGEDIT4

[HKEY_CLASSES_ROOT\magnet]
@="URL:magnet Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\magnet\shell]

[HKEY_CLASSES_ROOT\magnet\shell\open]

[HKEY_CLASSES_ROOT\foo\shell\open\command]
@="\"C:\\Program Files\\Application\\program.exe\" \"%1\""

Replace  C:\\Program Files\\Application\\program.exe with the program you want to run. Note that backslashes must be doubled and the additional slashes and quotes before the path must not be removed. Save the file something as “name.reg”, then double-click it to insert into the Windows registry.

For Linux:

Type about:config into the address bar and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.external.magnet -> Value -> true
Right-click -> New -> String -> Name: network.protocol-handler.app.magnet -> Value -> /usr/sbin/azureus
Ensure network.protocol-handler.expose-all is set to true. (mine was already)

Make sure you have the right path to azureus (it might be something like /usr/sbin/azureus if the standard repo’s are used perhaps?)

To check it ->  System -> Preferences -> Menu Layout
Then use the left panel to navigate to the internet menu, then right clicked azureus and chose properties. this shows the path to the executable.

Thats it. Now all Magnet links will open in the particular torrent client( if the torrent client supports the openingof magnet links like this.).

I think qBittorrent does not support this kind of opening. But of course it supports Magnet Links.

  1. Lightning
    November 30th, 2011 at 10:36 | #1

    sorry, the site stripped out the backslashes

    but the comments still stand otherwise

  2. MacK
    March 31st, 2012 at 00:29 | #2

    with [HKEY_CLASSES_ROOTfooshellopencommand] replace foo by magnet to make it work

  3. anonymous
    April 1st, 2012 at 17:52 | #3

    for transmission use the path as usr/bin/transmission-gtk

  4. Fabio
    July 14th, 2012 at 20:06 | #4

    Worked for windows perfectly! Thanks!

  1. No trackbacks yet.