PDF Bookmark in Google Chrome

Recently, I have read many books in PDF format using Google Chrome. To go to a specific page, you can simply add # page = 23 in the url (as in the file: /// C: /my_book.pdf#page=23). This is a good and easy way to bookmark the current page number to continue reading the book later.

My question is:

What is the way to find out which page you are on in a book?

OR

What is a Chrome plugin that bookmarks PDF files on your file system?

I tried several extensions, but they do not work if the book is not on the server (as in http: //localhost/my_book.pdf), which is undesirable in my case.

Thank!

+7
source share
3 answers

Chrome 31+ , . , ( ) ​​ .

+1

- ?

, document.location.hash :

currentPage = document.location.hash.split("="); currentPage = currentPage[1];
+2

not very user friendly, but you can add the property value document.documentElement.scrollTopto the URL in the console

> document.documentElement.scrollTop
<- 4000

Bookmark "file: //path/to/pdf.pdf#4000", and then use this value when you reopen to set the same property

document.documentElement.scrollTop = 4000

a simple user script should be able to do this ...

0
source

All Articles