Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am used to open my website links online in Internet Explorer, and then remove the http:// with c:/ where the sitename is the same on my local folders example:

http://sitename.com/dir/page1.html

change it to

c:/sitename.com/dir/page1.html

so it opens the local page directly, and through a button I could edit what is needed in my local version of the page..

However this behavior doesn't work in Firefox (I have ver. 14.0.1) as to view the local file, I have to type "file:///" before the "c:/"

and when I write "c:/" directly in Firefox, I get the following error:

The address wasn't understood

Firefox doesn't know how to open this address, because the protocol (c) isn't
associated with any program.

You might need to install other software to open this address.

So, is there a way to let Firefox understand c:/ or d:/ or treat local drives as "file:///"? like Windows Explorer (as it is interchangeable with ie)..

share|improve this question

migrated from stackoverflow.com Aug 23 '12 at 0:58

This question came from our site for professional and enthusiast programmers.

    
While I know its not the answer you want, it might be worth noting that chrome has this feature. –  Joel Aug 22 '12 at 21:37
    
yes you are right.. but I am trying to move all my work to one browser, so Firefox seems to have many of what I need.. –  Mike Aug 22 '12 at 21:47

2 Answers 2

Using backslashes work.

C:\ instead of C:/

share|improve this answer
    
yes it works with that slash \ but, if the link has more than one / I have to change each one of them! if it is sitename.com/book/file.html it won't work, I'll have to change all the slashes! –  Mike Aug 22 '12 at 21:53
    
or can I let Firefox treat the \ as / and vice versa? –  Mike Aug 22 '12 at 22:45

I haven't tried this myself, but it should work in theory.

  1. Install URL Suffix extension.
  2. Configure it to automatically append "file:///" on any link you navigate to with CTRL+ENTER (or any other shortcut).
  3. Now when you want to access a local file, just press CTRL+ENTER (or the shortcut you chose) after you have changed it to C:/.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.