Alter the directory structure of pre-built pack of PDF.js so that it can be quickly deployed to Google drive hosting.
- Set up a Google drive folder that can expose itself to the world (as instructed here).
- Upload index.html and
pdfjsdirectory to the google drive folder. - Upload some PDF files to that folder as well.
- Visit
http://www.googledrive.com/<folderId>?file=<PDF file name>#page=<page to show>&zoom=<zoom%>,<x>,<y>to open up the specified PDF file in a specific page and specific point (x, y).