UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    standard browser

    Scheduled Pinned Locked Moved Fairphone 4
    3 Posts 3 Posters 106 Views 2 Watching
    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.
      • E Offline
        Ernst-Jan15
        last edited by

        Hello all,

        Is there a way to uninstall the morph browser or to make an other, ie UWolf, the standard browser?

        EJ

        Ernst

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @Ernst-Jan15
          last edited by

          @Ernst-Jan15 If you mean, opening links to other browsers then sadly no. At the moment, it's a bit random which browser will open in every boot of the device. The browser also need to provide a configuration to tell the system it can handle web links. I don't think browsers like uWolf has that.

          You also can't uninstall Morph. You can delete (or rename) Morph's configuration to allow other browsers to handle web links.

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            gpatel-fr @kugiigi
            last edited by

            @kugiigi said in standard browser:

            At the moment, it's a bit random which browser will open in every boot of the device

            Is not it ruled by the order of rows in the configfiles table of urls-1.db ? It's not changing by itself.

            For fun, I tried to hack the urls table with instruction like:

             update urls set domainsuffix='nothing.org' where sourcefile != 27 and protocol='https' and length(domainsuffix)==0;
            

            where 27 is the rowid of the morph browser qt6 for my phone. It worked, I could start the new fangled browser from a link. Restarting the phone did not revert to standard Morph for links. At the moment I don't know if it has bad consequences but I'd say that extending UT to allow for a browser choice can't be impossible.

            Sadly you are right for browsers not prepared for that, Min did not start when I used its rowid instead of the Morph Qt6 one. Firefox and Chromium do not even expose http and https handlers. Maybe it could be hacked around but given that Min does not even start I could not be bothered to try.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post