Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magnet links are not intercepted #9

Open
moppman opened this issue Oct 7, 2020 · 5 comments
Open

Magnet links are not intercepted #9

moppman opened this issue Oct 7, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@moppman
Copy link

moppman commented Oct 7, 2020

Describe the bug
Instead of adding a magnet link to the configured client, clicking a magnet link prompts the xdg-open chrome popup.
Adding torrent files works as expected.
To Reproduce
Steps to reproduce the behavior:

  1. Go to https://webtorrent.io/free-torrents
  2. Click on a magnet link
  3. See xdg-open popup

Expected behavior
Add magnet link to client
Desktop (please complete the following information):

  • Chrome Version 86.0.4240.75 (Official Build) (64-bit)
  • Debian 10

Remote torrent client

  • Client rutorrent

edit: Adding magnet links via right-click is working fine.

@moppman moppman added the bug Something isn't working label Oct 7, 2020
@piperun
Copy link
Owner

piperun commented Oct 8, 2020

Hello and thanks for sending in the issue!

Do you get any error message in the background page of the extension?
(More Tools -> Extensions | Details -> background page)

If not, have you tried right-clicking -> Add torrent?

I suspect this is a deliberate design limitation of Chrome (Since I can't choose which application should be allowed to handle file/link like you can in Firefox) since it defaults to which ever application your OS:
https://askubuntu.com/questions/303033/changing-the-torrent-programm-for-magnet-url

I'll try and look out for any solution that would make this functionality work, but at the moment the only workaround is to right-click the link -> Add Torrent.

@moppman
Copy link
Author

moppman commented Oct 9, 2020

Thanks for getting back to me so quickly!

Do you get any error message in the background page of the extension?

None

If not, have you tried right-clicking -> Add torrent?

I should have explicitely mentioned that: adding a magnet link via right-click is working fine.

I'll try and look out for any solution that would make this functionality work,

I just stumbled across another extension (I like yours better, though 😃 ) and quickly tested adding magnet links, seems to work there.

@piperun
Copy link
Owner

piperun commented Oct 9, 2020

Thank you very much :)

I see, I'll have to look into their solution.

@bfcns
Copy link

bfcns commented Dec 4, 2021

I have the same problem.

@allblue
Copy link

allblue commented Dec 17, 2021

I also have the same problem. At the same time, I noticed that some extensions can be left-clicked to directly add magnetic link, such as Download Manager (for Synology) , There should be a way to bypass chrome restrictions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants