Add Protocol Handler to Settings
-
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.