简体   繁体   中英

JavaScript code to display plain PDF file

Is there a JavaScript code available somewhere that could display a very simple PDF file? I know there's pdf.js , but that's a big source code coming with a lot of capabilities. I just want to be able to see the plain file, no need for fancy stuff like hyperlinks.

I recommend PDFObject if you don't want to have to work around those annoying browser quirks. Its only about 1.8 KB and doesn't depend on any other JS frameworks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM