
Can't open secondary files from source code view on local page
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 👍 0All Replies (5)
It is probably a security issue. Did you check the Web Console for messages?
Of course I did. No message of any description.
Have you tried this? Does it work on your PC?
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.
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! ;)
If anyone cares, this has now been fixed. It works properly in FF 54.