Gecko esr91 work (former "Flypig's gecko dev diary")

For me it was startpage.com, but I think the answer is ‘non default browser engine’.

What I was trying to say, as I know you are a knowledgeable person, was that you could try to explain (or link the explanation) instead of just dismissing everyone, in the way you tend to do.
No hard feelings, It’s just my usual outspokenness.

2 Likes

My search engine is set to duckduckgo. I even changed it twice but that did not help

On 32bit devices (e.g. Xperia XA2), Reddit videos have no audio even after unmuting their JavaScript player. This is a regression compared to SFOS 4.6.

One workaround is to switch to desktop mode and maximize the volume of the JavaScript video player after unmuting it. (Unfortunately, of not much help when using the embedded browser in Quickddit to compensate for its lack of support for audio in Reddit videos.)

Searching from the address bar doesn’t work for me either. But I today realized that I can put a custom user.js file into /home/defaultuser/.local/share/org.sailfishos/browser/.mozilla. So I put the latest betterfox user.js in there with tweaks for faster scrolling, and now this oldtimer’s engine roars like a mustang :grin:

5 Likes

Can you give us a bit more detail, please?

Sure. Here is a step by step guide:

  1. install pico or any other text editor on your phone
  2. SSH into your phone
  3. $ cd /home/defaultuser/.local/share/org.sailfishos/browser/.mozilla/
    $ pico user.js
  4. I’ve pasted my user.js file here: https://pastebin.com/HkjbdBkL , also includes adblock DNS settings. Mozilla recommends to not set those manually, but since we’ve got a gimped browser instead of all the firefox options, it’ll do. Copy and paste it into pico.
  5. Write the file out
  6. Maybe restart browser? And report if it’s faster or not now. For me, it is.

Caveat: I’ve not researched what options have been added or removed in the 43 firefox versions since firefox 91. And I’m not gonna to either. Nor can I tell right now which options here are useless in this custom firefox version vs normal firefox. I suppose some of them may be. Like the whole UI section. So use at your own peril.

3 Likes

Awesome! Thanks a lot

The blog is big. To save me reading all of it, for I simply do not have the time, are you able to provide a rough estimate of during which time period this was discussed?

Have a look at the preamble: List items

1 Like

Also, after I applied the user.js, searching from address bar works again, I just noticed. For me at least. :astonished:

1 Like

It is also answered here in this thread: Gecko esr91 work (former "Flypig's gecko dev diary") - #101 by flypig

2 Likes

On my XA2, the embedded web component always opens YouTube links in desktop mode with Sailfish 5.0. For example, in Quickddit… This is a regression.

One more issue from my XA2… Some videos on YouTube simply don’t play with default settings at all, others play with no audio. For example, to play https://m.youtube.com/watch?v=nhGX1YCsvAM I had to disable VP9 support in about:config.

The Reader View is probably the last feature I miss in the web browser after upgrading to SFOS 5.
It looks like JavaScript implementation:

For the more technical people, do you know if the underlying bits are built in the SFOS browser?
Any idea if this ReaderView mode can be tested / activated in SFOS?

The functionality is still there, just no way to activate it from the UI as far as I can tell. I’d file a bug.

1 Like

The root cause for the broken searching from address bar has been found and fix will be included in some upcoming release candidate version. For those interested the issue was caused by updated certificate in the Mozilla remote settings service which broke the validation of the remote settings when using older ESR versions like ESR91.

23 Likes

Can anyone confirm if the browser crashes when trying to make a post to pixelfed?

Will there be a separate ESR102 post?

Itmw, about how to significantly speed up the build process: is it possible to set up distcc or similar for distributed builds on build server farms here?

I created a thread for ESR102 development: Gecko ESR102 development

8 Likes