piperun / torrent-clipper

Torrent clipper is a fork of torrent control intended for chrome users
GNU Lesser General Public License v2.1
22 stars 5 forks source link

Magnet links are not intercepted #9

Open moppman opened 3 years ago

moppman commented 3 years ago

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):

Remote torrent client

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

piperun commented 3 years ago

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 commented 3 years ago

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 :smiley: ) and quickly tested adding magnet links, seems to work there.

piperun commented 3 years ago

Thank you very much :)

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

bfcns commented 2 years ago

I have the same problem.

allblue commented 2 years ago

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.