Add Protocol Handler to Settings
-
@Calli04 The following works, after restarting Vivaldi the preferences file had moved it to in between countryid_at_install and data_reduction
"custom_handlers":{"enabled":true,"ignored_protocol_handlers":[], "registered_protocol_handlers":[{"default":true,"protocol":"mailto", "url":"https://mail.google.com/mail/?view=cm&fs=1&extsrc=mailto&url=%s"}]}
Like this:
"countryid_at_install":12345,"custom_handlers":{"enabled":true,"ignored_protocol_handlers":[],"registered_protocol_handlers":[{"default":true,"protocol":"mailto","url":"https://mail.google.com/mail/?view=cm&fs=1&extsrc=mailto&url=%s"}]},"data_reduction"
-
@nickbrake
Hi Nick, cheers, it worked as described after I firstly destroyed my preferences with a link to another mail service, but I was doing it on my testing device anyway.
It worked with Posteo:
https://posteo.de/webmail/?_task=mail&_action=compose&_to=%s
It did not work with mailbox.org, who seem to offer that functionality only for firefox. There the link hast this format, but this doesn't work in chrome either.https://office.mailbox.org/appsuite/#app=io.ox/mail/compose/main:compose&mailto=%s
The main goal I could not reach, because in Ubuntu there is not connection from the default mail handler to the mail handler in the default browser, which I was hoping to set up by this.
-
@Calli04 What had me stuck for a bit was the data in %s which seems not to be the expected data for a standard "mailto="... Not sure where I found it, but it required "&extsrc=mailto&url=%s" instead of "mailto=%s". The %s actually has mailto=_____ in it. Maybe something similar is supported with Posteo or Mailbox.
-
@nickbrake Thank you! Your solution works! Just a heads up: when editing the Preferences file make sure Vivaldi is not running
-
Nice forum, I gain good knowledge in this forum. Thank you for all your comments and suggestions. I actually work on it this is very helpful to me. Good job keep posting
-
@nickbrake Thanks, this worked for me on Linux.
As others have said, shut down Vivaldi first, and ideally make a backup of the file before editing it.
If anyone else is looking for it, the file location was ~/.config/vivaldi/Default/Preferences -
This post is deleted! -
Does this work on a Mac? Where is the file that needs to be edited?
Thanks!
-
Bumping this request with my own story: https://forum.vivaldi.net/topic/63007/add-support-for-protocol-handler
-
Ppafflick moved this topic from Vivaldi for Renault on
-
@burnout426 said in Add Protocol Handler to Settings:
You have to add the following JSON to the root object in Vivaldi's preferences file.
custom_handlers: { "enabled" : true, "ignored_protocol_handlers" : [], "registered_protocol_handlers" : [ { "default" : true, "protocol" : "mailto", "url" : "https://mail.vivaldi.net/webmail/?_task=mail&_action=compose&_to=%s" } ] }
How do I do this properly on current vivaldi-versions?
The file "C:\Users<me>\AppData\Local\Vivaldi\User Data\Default\Preferences" seems to be HEAVILY unformatted. Is that even the file you are talking about? Is there a way to do it "pretty" in Vivaldi??
I could run Notepad++ PrettyPrint over it, but I'm afraid to break stuff so that it breaks other stuff...A small outtake to demonstrate its beauty:
{"account_tracker_service_last_update":"13311852163088663","alternate_error_pages":{"backup":false},"autocomplete":{"retention_policy_last_version":106},"autofill":{"credit_card_enabled":false,"orphan_rows_removed":true,"upload_encoding_seed":"39345C8332CACC8B685A4BA8B9C16546"},"browser":{"has_seen_welcome_page":true,"window_placement":{"bottom":992,"left":135,"maximized":true,"right":1577,"top":2,"work_area_bottom":1080,"work_area_left":0,"work_area_right":1920,"work_area_top":0},"window_placement_popup":{"bottom":940,"left":480,"maximized":false,"right":1440,"top":140,"work_area_bottom":1080,"work_area_left":0,"work_area_right":1920,"work_area_top":0}},"cached_fonts":{"search_results_page":{"fallback":[],"primary":["Inter"]}},"countryid_at_install":17477,"credentials_enable_autosignin":false,"credentials_enable_service":false,"default_apps_install_state":3,"default_search_provider":{"synced_guid":"485bf7d3-0215-45af-87dc-538868000005","synced_guid_private":"485bf7d3-0215-45af-87dc-538868000007","synced_guid_search_field":"485bf7d3-0215-45af-87dc-538868000005","synced_guid_search_field_private":"485bf7d3-0215-45af-87dc-53886800000
showing 5 of 22*60=13200 lines of pure beauty
-
@Rhino_Cracker Apparently you need a JSON Editor.
@Pathduck said in Vivaldi asking confirmation to open uTorrent for magnet links:
Yeah, not sure if that would work. JSON is tricky and a small mistake would just mean the browser won't even start.
First of all it's a "minified" JSON so really hard to edit safely without a proper editor. I'd recommend you use this one: http://tomeko.net/software/JSONedit/
The "protocol_handler" is its own entry below the root, and you might have to add it yourself if not already there...
EDIT: If it's not clear from the lack of quotes around them - the values need to be boolean, not strings. Just found this out the hard way -
-
@madonnaragu This is highly experimental and not for unexpreienced users.
The code has to be added in filePreferences
of Vivaldi Default profile folder. -
We're looking into implementing this feature. It's now in our pipeline. When there's progress, we will update this thread.