• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Add Protocol Handler to Settings

    Add Protocol Handler to Settings

    Desktop Feature Requests
    settings pipeline
    20
    26
    8.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nickbrake @Calli04
      last edited by nickbrake

      @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"
      
      C
      Sciamano72
      S
      J
      3 Replies Last reply
      Reply Quote 5
      • C
        Calli04 @nickbrake
        last edited by

        @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.

        N
        1 Reply Last reply
        Reply Quote 0
        • N
          nickbrake @Calli04
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • Sciamano72
            S
            Sciamano72 @nickbrake
            last edited by

            @nickbrake Thank you! Your solution works! Just a heads up: when editing the Preferences file make sure Vivaldi is not running 🙂

            1 Reply Last reply Reply Quote 0
            • A
              adwardsingh
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • J
                JennaSys @nickbrake
                last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • C
                  cniggeler
                  last edited by cniggeler

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • M
                    madonnaragu
                    last edited by

                    Does this work on a Mac? Where is the file that needs to be edited?

                    Thanks!

                    DoctorG
                    D
                    1 Reply Last reply
                    Reply Quote 0
                    • TheBestPessimist
                      T
                      TheBestPessimist
                      last edited by

                      Bumping this request with my own story: https://forum.vivaldi.net/topic/63007/add-support-for-protocol-handler

                      1 Reply Last reply Reply Quote 1
                      • pafflick
                        P
                        pafflick moved this topic from Vivaldi for Renault on
                      • Rhino_Cracker
                        R
                        Rhino_Cracker @burnout426
                        last edited by Rhino_Cracker

                        @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

                        Pesala
                        P
                        1 Reply Last reply
                        Reply Quote 0
                        • Pesala
                          P
                          Pesala Ambassador @Rhino_Cracker
                          last edited by

                          @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

                          Blog • Vivaldi Review • Server Status
                          Win 10 64-bit build 19045.2486 • Snapshot 7.4.3683.4 (64-bit)

                          burnout426
                          B
                          1 Reply Last reply
                          Reply Quote 1
                          • burnout426
                            B
                            burnout426 @Pesala
                            last edited by

                            @Pesala Yeah, JSONedit in tree mode is what I like to use.

                            1 Reply Last reply Reply Quote 0
                            • DoctorG
                              D
                              DoctorG Soprano @madonnaragu
                              last edited by

                              @madonnaragu âš  This is highly experimental and not for unexpreienced users.
                              The code has to be added in file Preferences of Vivaldi Default profile folder.

                              _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                              Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                              Linux Debian 12 KDE X11 / Windows 11 Pro
                              Intel i5-7400 / NVidia GT 710

                              1 Reply Last reply Reply Quote 0
                              • pafflick
                                P
                                pafflick Vivaldi Team
                                last edited by

                                We're looking into implementing this feature. It's now in our pipeline. When there's progress, we will update this thread.

                                1 Reply Last reply Reply Quote 5
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post

                                Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status