为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Open local html file on android

  • 7 个回答
  • 5 人有此问题
  • 1 次查看
  • 最后回复者为 Hello Martin

more options

Hi, how can I open a local html file with firefox 86 on android 9? It's like firefox no longer registers itself as a valid program/association to open html files.

What I've tried so far: 1) If I type file:/// in the URL bar, nothing happens. It works on Opera. 2) If I go to a file manager, select an html file, and click "Open with", firefox doesn't show up; Chrome and Opera do. 3) If I go to the android settings > applications > firefox > associations, firefox shows no associated file types at all.

The HTML language isn't only used on the Internet, it's also used for local documents, please allow us to use firefox to view our local html files.

Hi, how can I open a local html file with firefox 86 on android 9? It's like firefox no longer registers itself as a valid program/association to open html files. What I've tried so far: 1) If I type file:/// in the URL bar, nothing happens. It works on Opera. 2) If I go to a file manager, select an html file, and click "Open with", firefox doesn't show up; Chrome and Opera do. 3) If I go to the android settings > applications > firefox > associations, firefox shows no associated file types at all. The HTML language isn't only used on the Internet, it's also used for local documents, please allow us to use firefox to view our local html files.

被采纳的解决方案

Hi

This option is currently unavailable in Firefox for Android. It may be included in a future update.

定位到答案原位置 👍 0

所有回复 (7)

more options

选择的解决方案

Hi

This option is currently unavailable in Firefox for Android. It may be included in a future update.

more options

Thank you, this saved me a lot of time of trying in vain!

I'll have to use Opera for this use case in the meantime then; hopefully it won't be long before it's supported in Firefox once more.

more options

I use File Manger Plus (recommended). You can set it to open HTML/txt in Firefox as default app. This is the only way I've manged to make it work.

more options

Seburo said

Hi This option is currently unavailable in Firefox for Android. It may be included in a future update.

Which future update? Because I still don't see it

more options

This used to work in earlier versions of Firefox for Android. I have a web app (that I wrote, all javascript) that is installed on my phone. I didn't use it for a few months, and then when I went to use it, I got one brief flash of some kind of permission error, and then a blank page... and starting again from the saved bookmark just gives me a blank page without even the courtesy of an error message.

This is a serious regression, to not be able to access file: URLs.

more options

Don't know if the option is supported already, but I've got the same problem in Firefox ver. 89.1.1 Got it to work by enabling "Remote debugging via USB" in Android's Firefox and connecting it to the Firefox in my PC. Then I inspected the only open tab. On the phone there was the URL of my local HTML file in the address bar, but on the PC it said "about:blank". I went ahead and typed the URL in my PC and hit Enter and then it finally loaded the HTML file on the phone. Sadly, it doesn't work after closing and re-opening the tab. Guess I will just try to never close that tab.

more options

Terje Havnegjerde said

I use File Manger Plus (recommended). You can set it to open HTML/txt in Firefox as default app. This is the only way I've manged to make it work.

This worked for me. Thanks. Obviously they mean File Manager Plus...

由Hello Martin于修改