Mika- / torrent-control

Firefox extension for adding torrents to remote clients.
https://addons.mozilla.org/addon/torrent-control/
179 stars 25 forks source link

New tab stays open after clicking on magent URL #155

Closed antostan closed 1 year ago

antostan commented 1 year ago

I don't remember exactly when it started, but for the past several months I've noticed anytime I click on a magnet URL, a new tab stays open that I have to manually close, then find the original tab I was on again. It's a minor inconvenience but very annoying when dealing with multiple magnet links in succession.

What I've discovered after inspecting the plugin is the following:

1) Clicking magnet URL is handled by "Torrent Control" listener in FireFox, which opens https://torrent-control.invalid/magnet……… in a new tab 2) The new torrent is added successfully to my qbittorrent client without issue, and no errors. 3) The new tab stays open, and must manually be closed. It appears as though a close trigger could be added to the addTorrent function in lib/qbittorrent.js?

Is there something I'm missing?

antostan commented 1 year ago

And after months of trying various things, it suddenly works an hour after posting this without explanation… go fig!