standard browser
-
Hello all,
Is there a way to uninstall the morph browser or to make an other, ie UWolf, the standard browser?
EJ
-
@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.
-
@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.
-
@gpatel-fr said in standard browser:
@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.
How did you determine that the row id is 27 for Morph QT6? I want to do this so I can actually open links in the modernized browser.
Edit: is it the row in the configfiles table?
Edit 2: Yep. Got it!
Maybe this should be turned into an app.
-
@projectmoon said in standard browser:
Maybe this should be turned into an app.
if the alternatives browsers (such as Min, uWolf, ChromiumUT) were ready to be used like this, a script using this trick could be used to disable preferred browsers in a more user friendly way. Until then, it's not really so useful.
-
@gpatel-fr Another question would be: is there a way to do it without hacking the database table? Like, is there something in the DB that allows it to select a browser without excluding apps from the list by doing a fake domain?
-
@projectmoon You can also delete or temporarily move the entry of preinstalled Morph or any other browsers you dodon't want in
/usr/share/lomiri-url-dispatcherand~/.cache/lomiri-url-dispatcher