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.

The thing I would like to achieve is that I have an Intranet portal which uses links like

<a href=" /files/x.docx"> x.docx < /a > 

to open an MS-Word application.

When I'm in firefox I use customize options in

tools-> options -> application-> microsoft-word-2007: use microsoft word 2007

This does work and the link opens directly in MS-word without any question, but chrome does not have this option in settings. In Chrome it asks "download or open this link". I need to cancel this step like "chrome download page" that open directly links.

share|improve this question
2  
What will you do for those of us who don't have MS Office? I use Libreoffice, someone else might use Abiword, what will you do then? Chrome needs to offer to download or save the document. –  Bojangles Jun 24 '12 at 19:08
    
thanks.i have an webpage with specified users that use ms-office. –  moab Jun 24 '12 at 19:15
add comment

migrated from stackoverflow.com Jun 26 '12 at 9:55

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

1 Answer

You cannot force which application opens the file; HTML only transmit the data, the browser is free to display it the way it wants. HTML content will be showed directly, and other documents will be forwarded usually to the default application configured on that computer.

You could though redirect to an online service like "OnlineOffice" or Google Docs with the url of the file to open.

share|improve this answer
add comment

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.