Install the extension first, and then right click on the following links to see it in action:

 

Link to a Word (docx) File

 

Link to a PowerPoint (PPS) file

 

Choose extension's option "Open with Office Online" as shown below. Read More about the extension on its home page.