alexhua / Aria2-Explorer

An aria2 download task management extension for chromium based browser
https://www.aria2e.com/
BSD 3-Clause "New" or "Revised" License
788 stars 66 forks source link

Aria2 for Edge无法接管magnet协议 #83

Closed waingt closed 2 years ago

waingt commented 2 years ago

Describe the bug 在Edge浏览器上安装Aria2 for Edge扩展后,拦截不了magnet协议

Expected behavior 启用拦截磁力选项后,应该弹出一个“扩展想要打开magnet链接的提示”,但是没有

Desktop (please complete the following information):

Additional context 在Chrome上安装Aria2 for Chrome可以正常拦截 在Edge上安装Aria2 for Chrome也可以正常拦截(我现在是这样用的)

alexhua commented 2 years ago

edge版和chrome版代码是一套代码,只是改了个名字。 windows平台拦截magnet协议全系统有效,只能有一个默认处理程序,chrome或者edge只能二选一。 也就说如果在aria-for-chrome里开了拦截,即使在edge里打开magnet连接,系统也会打开aria-for-chrome进行处理。

alexhua commented 2 years ago

如果需要通过Edge处理Magnet协议,需要在系统的默认应用里将Magnet协议的默认处理程序设置为Edge。