Mozilla (firefox) bookmarklet to open a new window with a local page

Using a bookmarklet, I am trying to open a window with an htm file that is on my local drive.

When I try this script nothing happens...
javascript: void(window.open('file:///D:/Internet/Pages/page.htm',1,'outerWidth=330,outerHeight=315,screenX=400,screenY=320'))
(yes, the path is correct)

I know that everything is correct except the reference to the local file because if I substitute an internet site using http:// etc  the window opens correctly. Is there some other way to reference a local hard drive file?
Thanks
steve44Asked:
Who is Participating?
 
keteracelConnect With a Mentor Commented:
oh, if you're trying to reference a page from the current one, do a relative link like "../../otherdir/index.html"
0
 
keteracelCommented:
why not drag the file into firefox then bookmark it?

I have problems with mozilla-based programs and accessing the local drive too... So I just do what I've said above!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.