[Bug report] Vivaldi cannot understand 'magnet' links
-
Vivaldi cannot understand 'magnet' links such as magnet:// for torrents, steam:// for steam client and skype:// for skype
Also, it works correct if it is a site where is a button with such type of link (like button "inspect item" at steam site, contains steam:// link), but it doesnt work with copy-pasting such link in adress bar, it will try to 'find' this link at Google.
It works in all other browsers based on chromium
-
@Gwen-Dragon In the Local State file for your Google Chrome profile, there's a "protocol_handler" "excluded_schemes" object that lists a bunch of protocols. In the early stages of Chromium Opera, I had to edit this file and add "mailto" to get mailto links to work (it's there now though). Do you know if adding those objects to Vivaldi's Local State file and adding magnet, steam, skype and other protocols there will allow Vivaldi to pass those URIs to the system default handler?
-
@Gwen-Dragon said in [Bug report] Vivaldi cannot understand 'magnet' links:
@burnout426 You misunderstood these handlers.
No, the protocol handler setting in Vivaldi chrome://settings/content adds handlers to open a protocol scheme with Vivaldi, not with other system programs.Understood. That list is not what I was referring to. See https://www.reddit.com/r/chrome/comments/2ga94j/i_accidentally_told_chrome_to_do_nothing_when_it/ for what I mean. http://askubuntu.com/questions/465586/how-to-reset-external-protocol-handler-in-chrome is another link.
What I meant was, at one point, when Opera didn't support passing mailto links to an external handler, I was able to add support by editing the Local State file where I added "mailto". Then, mailto links would open with M2. I was wondering if a similar trick would work in Vivaldi. I guess I could just try it though.
Here's another link: http://www.metserve.com/blog/magnet-links-working-with-chrome
Anyway, I tested. With "magnet":false set in the Local State file in vivaldi, it just launches magnet links you click on in the external handler without prompting you. It still doesn't make magnet links work in the address bar. Oh well. It was just a shot.
Entering magnet links in the address field in Firefox and Edge works as expected. It just seems to be a Chromium issue with blocking protocols in the address field.
-
FWIW, I found a few, old Chromium bugs on this when searching for protocol issues in the Omnibox.
https://bugs.chromium.org/p/chromium/issues/detail?id=5502
https://bugs.chromium.org/p/chromium/issues/detail?id=2563They led me to this code in Chromium for allowed schemes.
It's either something with that or something with a user gesture flag not being set.
-
@Gwen-Dragon said in [Bug report] Vivaldi cannot understand 'magnet' links:
@burnout426 said in [Bug report] Vivaldi cannot understand 'magnet' links:
It still doesn't make magnet links work in the address bar.
As i said, these and some other schemes are not implemented yet in Vivaldi, which means everywhere in Vivaldi.
I just figured by "implement", you meant not allowed, but easily enabled in the code, since you shouldn't have to implement anything specific for magnet links. Vivaldi should pass the URI to the external program like it would for other protocols (like mailto) and like it does already for magnet links if you click on one. But, I'll let the one fixing this worry about the details.
-
Ppafflick unlocked this topic on
-
Ppafflick moved this topic from Vivaldi for Windows on