Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Open local html file on android

  • 7 réponses
  • 5 ont ce problème
  • 4772 vues
  • Dernière réponse par 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.

Solution choisie

Hi

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

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (7)

more options

Solution choisie

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...

Modifié le par Hello Martin