Open HTML Files in Safari, Gerdammit!
Posted April 26th, 2006 @ 11:36am by Erik J. Barzeski
I'm a Web developer. I use BBEdit. As such, ".html" files (and .php, and .inc, and .htm, and .cgi, and so forth) are set, by default, to open in BBEdit.
I'm getting tired of applications assuming I've set HTML documents to open in a browser. Today, I clicked "Buy Now" in the FileMaker Pro v8 demo (I was hoping it'd let me enter a code), and bam, a .htm file opens in BBEdit.
Yeah, that does me a lot of good. Thanks.
Heaven forbid a developer write an extra line or three of code to open the file in a browser.
Posted 26 Apr 2006 at 11:43am #
I think the way to get that to happen is to manually set, in Safari preferences, Safari to be the default web browser. I used to have that problem, with BBEdit automatically choosing itself to be the file handler for .html files, but setting the prefs in Safari to some other web browser, then back to Safari being the default web browser, did the trick.
Posted 26 Apr 2006 at 1:53pm #
That was your mistake: clicking "Buy Now" in FileMaker 😉
On the same note, there are programs that open their HTML help in Internet Explorer. I even think I saw one opening it in GoLive (meaning "Go directly to the Trash, do not pass Applications folder, do not collect $200.)
Posted 27 Apr 2006 at 5:44am #
The proper way to make sure a HTML file opens in a browser would be to call the file:// protocol.