Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't open secondary files from source code view on local page

more options

If I'm viewing a local page from my PC, with an address like file:///C:/Users/mrn/Documents/Studies/bgtest/index.html, and I ask for the source code (CTRL-U), I see the raw HTML. But if that page calls another resource, like styles.css, I can't open it.

In prior versions, clicking on the link would open it. Now, even if I right-click and choose "Open Link in New Tab," I get a blank window, with address bar contents like view-source:file:///C:/Users/mrn/Documents/Studies/bgtest/styles.css

This happens both on Win10 and macOS 10.12.4, which tells me that it's probably not something like a permission or file association problem.

This worked fine before Firefox 53, and it still works fine in Chrome 58. If I'm viewing a page from the web, it also has no problem. It's only locally that the issue appears.

If I'm viewing a local page from my PC, with an address like file:///C:/Users/mrn/Documents/Studies/bgtest/index.html, and I ask for the source code (CTRL-U), I see the raw HTML. But if that page calls another resource, like styles.css, I can't open it. In prior versions, clicking on the link would open it. Now, even if I right-click and choose "Open Link in New Tab," I get a blank window, with address bar contents like view-source:file:///C:/Users/mrn/Documents/Studies/bgtest/styles.css This happens both on Win10 and macOS 10.12.4, which tells me that it's probably not something like a permission or file association problem. This worked fine before Firefox 53, and it still works fine in Chrome 58. If I'm viewing a page from the web, it also has no problem. It's only locally that the issue appears.

Chosen solution

OK, I tested it. I need to set focus to the location/address bar and press the Enter key to make the file appear.

Read this answer in context 👍 0

All Replies (5)

more options

It is probably a security issue. Did you check the Web Console for messages?

more options

Of course I did. No message of any description.

Have you tried this? Does it work on your PC?

more options

Chosen Solution

OK, I tested it. I need to set focus to the location/address bar and press the Enter key to make the file appear.

more options

I'll be damned, that actually does work!

So, what used to require a single click now requires a right-click, selecting a context menu item and left-clicking, then left-clicking in the address bar, then hitting Enter.

That's progress! ;)

more options

If anyone cares, this has now been fixed. It works properly in FF 54.