Comments (9)
Magnet urls are already being handled by the native protocol handler.
Automatic handling for all links would be nice, but the current web extension API doesn't yet have methods to add custom download targets.
This absense could be filled by parsing and rewriting links or blocking and matching requests. Both ways are hacky and slow down regular browsing. This also makes extension unpredictable, as there's no way to know if the link will match. There would also be many false positives and misses because of wide variety of url schemas on different sites.
Firefox 58 will be shipped soon and hopefully we will know soon if there are plans to extend the download API to allow custom handling by mime type, like the old one had.
from torrent-control.
I see, so itβs just a case of waiting for the custom handling by mime type API to be implemented.
Do you know if it has been requested or if there are any plans to implement it.
from torrent-control.
Relevant tickets in bugzilla are 1344648 and 1356397. Loosened content handler would allow detecting files with application/x-bittorrent
mime automatically. Althought this doesn't help if server is missconfigured and responds torrents with generic application/octet-stream
which needs action from the user to work properly.
from torrent-control.
So it looks like it's just a case of waiting for the right Apis to be implemented, although it could be a while.
from torrent-control.
Mozilla has triaged and combined relevant tickets to 1457500. So this is slowly progressing.
from torrent-control.
What is the harm in at least handling urls with the .torrent suffix? That would cover a whole lot of links, with very little chance of a false positive. Will you consider a pull request for this? Seems like a small enough change.
from torrent-control.
It looks like Mozillas progress on web extension apis has once again halted. I have some free time this weekend so I can make initial support.
Do you have more proposals for regexp filters other than /\.torrent$/
?
from torrent-control.
I just sent you a pull request for this. See if you like it.
And if you have other ideas, would be interested in learning.
from torrent-control.
Feature is now present in 0.2.1.
from torrent-control.
Related Issues (20)
- Add keyboard shortcut on context menu
- Network Error on Librewolf HOT 3
- Notification stopped working after Fx v111.0 update HOT 7
- Catch torrent URLs with custom regular expressions not working HOT 2
- Adding torrent via Torrent Control makes Transmission Web Control unresponsive. HOT 2
- Cannot handle long magnet links HOT 6
- Not working with Transmission 4.0.x HOT 9
- Safari Support? HOT 5
- Notification incorrectly says "Failed to login" HOT 3
- Why does this need access to all websites? HOT 1
- Port request to Google Chrome HOT 2
- New tab stays open after clicking on magent URL HOT 1
- Failed to login in LibreWolf HOT 3
- qbittorrent: "Add torrent" UI improvements & timesavers HOT 2
- Transmission label support HOT 1
- feature request ed2k emule web support HOT 1
- allow syncing of server lists HOT 2
- Failed to read torrent HOT 2
- Feature request: qBittorrent categories support.
- [feature request] add option to use regular expressions to auto assign label HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrent-control.