Google Chrome no longer opens local HTML files when I double click them

I must have done something to Google Chrome on my Mac.

Local HTML files, even though they are associated with Chrome, do not actually open in Chrome anymore when I double click them. For example, double clicking an HTML file on my desktop will launch Chrome, but the browser window will not display the content of the HTML file.

If I change the program my computer will use to display HTML files to Safari or Firefox, they open as I expect them to, rendering the HTML properly in a browser window.

If, I have a Chrome window open and drag the HTML file into the browser window, it will render the HTML content properly, but the double clicking is the behavior I'm hoping to get back.

Does anyone know why this might have caused this change in Chrome behavior? And best of all, how to fix it?

Chrome extensions I use: LastPass, Xmarks, Google Voice.


Solution 1:

I fixed this by changing default 'open with' option on the Mac from Chrome to Firefox and then putting it back to Chrome.

Solution 2:

The OS assumes that a file association just means "appname" "filename.ext". If for some reason the people over at Google screwed that up somewhere that would be a reason why it stopped working

Solution 3:

This seems to be a bug in Chrome, it's been reported to Google, so we can just sit and wait for them to fix it. No workaround at the moment that I know of...

Solution 4:

I've managed to partially get around this (OSX, Chrome v 42.0.2311.90) by realizing that the files I'm aiming to load are in my Sites folder, and I have the built-in Apache server enabled, so I just navigated to it via its localhost URL: http://localhost/ndic/wpboom_design/site_settings.html

I tried using Firefox in the interim, but each browser's developer console is really different and I couldn't get used to it. Anyway this workaround will help me make do for now.