I don’t think firefox nor chromium is related to linux
Firefox can now display pdfs but can’t display html on android. Well done mozilla. Well done.
I opened example.com, which I believe contains some html, and Firefox on Android was able to display it successfully. How do you reproduce this issue? Or do I just have an older version and they removed the html-displaying feature in newer versions on Android?
I believe what they meant is that Firefox Android is unable to open local HTML files, which indeed I have found to be quite annoying in the past.
You can download a sample html file here https://www.moorewebexposure.com/wp-content/uploads/2021/03/index.html.html you won’t be able to open it with firefox. You have to serve it, firefox can’t open local html files anymore. Chrom* can.
They actually did remove it in the 60s, iirc (Whenever they moved from fennec to fenix).
It can do it with js. Save this as bookmarklet, if you need to open html with firefox for some reasons.
data:text/html;base64,PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgo8c2NyaXB0PgpmdW5jdGlvbiB4KCkgewpjb25zdCBpbnBmaWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnaW5wdXQnKTsKaW5wZmlsZS5zZXRBdHRyaWJ1dGUoJ3R5cGUnLCAnZmlsZScpOwppbnBmaWxlLm9uY2hhbmdlID0gKCkgPT4gewpjb25zdCBmaWxlID0gaW5wZmlsZS5maWxlc1swXTsKY29uc3QgcmVhZGVyID0gbmV3IEZpbGVSZWFkZXIoKTsKcmVhZGVyLmFkZEV2ZW50TGlzdGVuZXIoJ2xvYWQnLCAoKSA9PiB7CmNvbnN0IGlmcmFtZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2lmcmFtZScpOwppZnJhbWUuc3R5bGUud2lkdGggPSAnMTAwdncnOwppZnJhbWUuc3R5bGUuaGVpZ2h0ID0gJzEwMHZoJzsKZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLnJlcGxhY2VDaGlsZHJlbihpZnJhbWUpOwppZnJhbWUuc3JjZG9jID0gcmVhZGVyLnJlc3VsdDsKfSk7CmlmIChmaWxlKSB7CnJlYWRlci5yZWFkQXNUZXh0KGZpbGUpOwp9Cn07CmlucGZpbGUuY2xpY2soKTsKfQo8L3NjcmlwdD4KPC9oZWFkPgo8Ym9keSBzdHlsZT0ibWFyZ2luOiAwOyBwYWRkaW5nOiAwIj4KPGJ1dHRvbiBvbmNsaWNrPSJ4KCkiPk9wZW48L2J1dHRvbj4KPC9ib2R5Pgo8L2h0bWw+Cg==
Thats interesting, thx! Very hacky