Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to restrict Firefox to open word document in browser window with href

more options

How to restrict firefox to open word document from a website link to open in the browser window, instead it should open in native program. 1.I have tried other website, and have clicked on similar links they are opening word document correctly in native program 2. MS word document from one specific site is opening in browser causing junk character in place of word document. Could you please help on this.

How to restrict firefox to open word document from a website link to open in the browser window, instead it should open in native program. 1.I have tried other website, and have clicked on similar links they are opening word document correctly in native program 2. MS word document from one specific site is opening in browser causing junk character in place of word document. Could you please help on this.

All Replies (8)

more options

Firefox > Tools > Optiosn > Application

  • Search for "Document" and choose the option which you want...

Firefox gives preview for pdf and image files. not for document oriented file types.

more options

You must go in setting...search the tab Application(like this https://support.mozilla.org/en-US/gallery/image/6930 ) and then change the action for word documents..get it?

Modified by Nellus

more options

Thanks for your response... But As i said, I have tried with other website on the same browser, there it is opening word document in native program. Also the above mentioned options have been tried earlier.

I have some questions related to this? How is this href link is behaving differently opening in browser for mozilla only. Technically, Can we make it open it native program only? If so, then how?

more options

Could you provide the link

more options

Jaya, i am unable to share that link, it is a secure document. It cannot be accessed without log-in to the application.

more options

it direct link

<a href="url/document_name.doc">document link</a>
with doc type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

If you need other information..i can provide but have to follow confidentiality...

Modified by cor-el

more options

The behavior of such documents usually depends on with which MIME type the server sends the file.
So you can check out the server configuration.

more options

Another observation is this link working fine in chrome and IE 8 and IE10