If I were a student going to this site for the very first time, what would I do or where would I go to start learning? I just want to replicate this behavior on a Mac. Also, Canvas displays the pdf in the window as the default behavior on iOS. Others have suggested that opening a pdf in a browser is a security risk.This does not work (and causes problems when the file is updated.) Use direct addressing instead of indirect addressing in the href.This degrades resolution and has poor accessibility ( e.g., for vision impaired students) Store the pdf on Google drive and link to that: This is insecure (anyone with the link can access the file) and obviates the need for Canvas.Question: What code do I use to get a pdf to open in the parent browser window on all platforms?Ī number of solutions have been suggested previously: IPad: Syllabus.pdf opens in parent window <- correct behavior Safari on Mac: Syllabus.pdf downloads file <- incorrectįirefox on Mac: Syllabus.pdf downloads file <- incorrect When I click the link 'My Syllabus,' the behavior is platform dependent: Where assets/general/Syllabus.pdf is the relative address of the syllabus with respect to the home page. For the purposes of discussion, assume it has two pages: My course site is in HTML and stored in Files on Canvas.