My Profile Photo

Rich Werden

Web Developer & Software Engineer


A site for Rich to write about code and show some completed projects for future reference...


Getting Safari to read local files

Why was it so hard to get Safari to read my local file? File under annoying…

Well, if you’re wondering… Let’s say I am a Mac OSX user named Bob. I do my webdev work in a folder called Work that lives on my Desktop. Inside of the Work folder is a folder called Project Alpha and inside of that folder, I want to see foo.html?

Got that?:

  • Bob
    • Desktop
      • Work
        • Project Alpha
          • foo.html

The result to type into Safari’s URL bar:

file:////Users/Bob/Desktop/Work/Project%20Alpha/foo.html

Of course, you could just go to the ‘Open File…’ menu item in the File menu, but isn’t this just that much more fun to be annoyed with?