We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Add protocol handler for magnet links

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jronnholm

more options

I am trying to get firefox to invoke a custom program when it encounters a magnet url. I have added the protocol(HKEY_CLASSES_ROOT > magnet > shell > open > command) with regedit. It appears to be added correctly, since Chrome is able to understand it without further configuration.

I have tried adding the network.protocol-handler.expose.magnet boolean key in about:config in firefox. Neither having it set to false nor true changes anything.

The error i am getting is along the lines with "firefox does not know how to open the magnet protocol since it is not associated with any program"(My message is not in english so no exact translation).

Also, no mention of magnet shows up under Programs in the firefox settings.

My Firefox version is 17.0.1 The program association i set in regedit is "E:\Program\Python27\pythonw.exe" "E:\Program\Misc\magnet_add.pyw" "%1"

Thanks in advance for your help

I am trying to get firefox to invoke a custom program when it encounters a magnet url. I have added the protocol(HKEY_CLASSES_ROOT > magnet > shell > open > command) with regedit. It appears to be added correctly, since Chrome is able to understand it without further configuration. I have tried adding the network.protocol-handler.expose.magnet boolean key in about:config in firefox. Neither having it set to false nor true changes anything. The error i am getting is along the lines with "firefox does not know how to open the magnet protocol since it is not associated with any program"(My message is not in english so no exact translation). Also, no mention of magnet shows up under Programs in the firefox settings. My Firefox version is 17.0.1 The program association i set in regedit is "E:\Program\Python27\pythonw.exe" "E:\Program\Misc\magnet_add.pyw" "%1" Thanks in advance for your help

被采纳的解决方案

所有回复 (2)

more options

选择的解决方案

more options

Thanks, I had not set the "URL Protocol": "magnet" string value. It works now :)