Register "magnet" URI scheme handler
When a web browser executes this code, it should display a prompt to the user, asking permission to allow the web application to register as a handler for the URI scheme.
This commit is contained in:
parent
23adc6e207
commit
0a055a81de
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
navigator.registerProtocolHandler 'magnet', window.location.origin + '#%s', 'βTorrent'
|
||||
|
||||
trackers = [
|
||||
'wss://tracker.btorrent.xyz'
|
||||
'wss://tracker.webtorrent.io'
|
||||
|
|
Loading…
Reference in a new issue