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

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

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

  • 2 תגובות
  • 0 have this problem
  • תגובה אחרונה מאת jbr
  • 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

כל התגובות (2)

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://

Don't use full absolute paths. Only link relative to the document e.g. "./subfolder/file.ext" or "../../higher/index.ext" — and that should keep working.

פרסום שאלה

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.