this post was submitted on 12 Jul 2025
32 points (100.0% liked)

Firefox

5587 readers
1 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS
 

I've got an HTML file on my phone, and would like to view it. But Firefox on Android has neither a menu entry "Open File", nor does using the file:// method work, nor is any app associated with the .html file extension.

BTW, Chrome suffers from the same problem. And it is not an issue with the file, it works when opened via the https:// method from my home server.

Why, oh why, can't I open a local file on Android?

you are viewing a single comment's thread
view the rest of the comments
[–] Darkassassin07@lemmy.ca 3 points 5 days ago* (last edited 5 days ago) (6 children)

It's clunky, but I can open files in firefox by using a file browser app (I use x-plore), selecting 'open with', then selecting firefox. Sometimes it's not in the list, but there's a selector for what type of file (text, video, audio, '*'). '*' lists all the apps.

Sometimes stuff still refuses to open, but things like pdfs and html files usually work

[–] Treczoks@lemmy.world 1 points 5 days ago (5 children)

OK, my file browser does not offer this option.

[–] SatyrSack@lemmy.sdf.org 1 points 5 days ago* (last edited 5 days ago) (1 children)

I can do this with Amaze File Manager, just not with any of the various Firefox forks that I have installed, no matter which option I choose under "Open As". Vanadium (a Chrome fork) was an option when I tried to open as a text file. Using a file named test.html that is saved in my Download directory, this was the URL in Vanadium:

content://com.amaze.filemanager/storage_root/storage/emulated/0/Download/test.html

[–] Treczoks@lemmy.world 1 points 4 days ago

Yes, I am well aware that filenames under android are horribly convoluted. From a certain viewpoint, they probably make sense.

load more comments (3 replies)
load more comments (3 replies)