Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

I am writing a local HTML file as a catalogue for a drive. I want to make the file names clickable but the file:/// href is blocked. Is there a work around

  • 1 odpowiedź
  • 0 osób ma ten problem
  • Ostatnia odpowiedź od wxie
  • Open

I'm using a HTML file as a hypertext that catalogues a hard drive or folder. I want the file names to be clickable--to open the file, but but the file:/// href is blocked. What is the work around. All of this is local

I'm using a HTML file as a hypertext that catalogues a hard drive or folder. I want the file names to be clickable--to open the file, but but the file:/// href is blocked. What is the work around. All of this is local

Wszystkie odpowiedzi (1)

Firefox blocks file:// links from websites (including local HTML files) as a critical security measure.

You can make your file clickable by

1. install a Firefox extension, for example, Local Filesystem Links file:/// will find you file 2. start a local server, for example open a terminal, go to your file folder, run python3 -m http.server 8000 http://localhost:8000/your-file.html will be your file, not file://

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.