2 ms·
That reminds me.. On macOS, the default application to open files with the .html extension is Safari, which I found is impossible to change. A tiny thing but it
by lioeters 6y ago
That reminds me.. On macOS, the default application to open files with the .html extension is Safari, which I found is impossible to change. A tiny thing but it still makes me angry that someone at Apple intentionally removed my ability as a user.
- peteretep 6y ago> the default application to open files with the .html extension is Safari, which I found is impossible to change Do you have some more context? I have found this trivial to change...
- joshstrange 6y agoYou might want to check again. I just checked and mine is set to (and works with) Chrome. Right click an HTML file and click "Get Info". Then look for the "Open With:" section and select your prefered browser. Then click the "Change All.." button. I just tested this with `echo "Hello World" > test.html` and then double-clicked it in Finder and it opened in Chrome.
- vulcan01 6y agoThanks for this tip! I have the opposite problem of GP; I installed Edge, and though it has never been my default browser, it's now the default browser for .html files... This fixed that issue.
- lioeters 6y agoHuh, you're right - I just did what you described, and was able to change the default application for .html files. Weird! I could have sworn I did the same thing a few times, and it kept reverting back to Safari. Apparently this was an issue with the user, not the OS. My bad. EDIT: Actually, I remember now that I had to use duti to change this from the command line. https://formulae.brew.sh/formula/duti https://formulae.brew.sh/formula/duti