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?
Android file permissions. Android grants access to a specific subdirectory for each app. So u need to go to file:///somedirpath/urfile.html
U might also be able to grant full file access to ff but I would say that’s a huge security risk. Alternatively u could serve the file dir with python from termux.
Of course I entered the full file path, not just the method. Firefox did not recognize “file” as a method, to start with.
Try triple slash
You are right, it was triple slash, but it does not work anyway, as it already balks at “file”.