Skip to content

Web nourishment by John Ford and crew

Plugin: Bookmark A Page In Your PDF

John Ford Sep 15, 2006

With the long, yet wonderful, books in PDF format these days (Agile Web Development with Rails by Dave Thomas and David Heinemeier Hansson with Leon Breedt, Mike Clark, Thomas Fuchs, and Andreas Schwarz [570 pages]; Programming Ruby by Dave Thomas, with Chad Fowler and Andy Hunt [864 pages]) there needs to be a better way to digitally bookmark where you left off. For some reason Adobe Reader (Acrobat Reader) doesn’t have this capability built in. I found a plugin for Acrobat Reader to do multiple bookmarks per document from PDF Hacks. However, I really just want it to be simple like a physical book - you bookmark the page you’re on when you stop and go to that page when you pick back up. So here is my plugin to bookmark your page in Adobe Reader.

Download:

PDF Bookmark 1.1

Change Log:

  • 1.1 - Dec 20, 2007 - Update to work with Adobe Reader 8 due to security changes (app.trustedFunction)
  • 1.0 - Sep 15, 2006 - Initial release

Installation:

Adobe Reader 8 - copy pdf_bookmark.js to:

  • Mac: ~/Library/Acrobat User Data/8.0_x86/JavaScripts (or similar)
  • Windows: C:\Documents and Settings\[User Name]\Application Data\Adobe\Acrobat\8.0\JavaScripts (or similar)

Adobe Reader 7 - copy pdf_bookmark.js to:

  • Mac: ~/Library/Acrobat User Data/7.0/JavaScripts (or similar)
  • Windows: C:\Documents and Settings\[User Name]\Application Data\Adobe\Acrobat\7.0\JavaScripts (or similar)

Note: you may have to create the JavaScripts folder

Usage:

Open your document in Adobe Reader. Then choose Tools -> Bookmark from the menu. “Bookmark This Page” adds the bookmark. “Go To Bookmark” sends you to the bookmark you created. It remembers which PDF document you bookmarked so it works on all of your PDFs simultaneously. (Tested with Acrobat Reader 7 and Adobe Reader 8 (thanks Michael) on Mac OS X and Windows)

PDF Bookmark Plugin Screenshot (8.0)

Digg!

Comments

  1. September 15th, 2006 | 6:08 pm

    suh-weet. thanks, john

  2. September 21st, 2006 | 8:32 pm

    What Sean said. And I fixed the link. Thanks!

  3. Deria
    March 5th, 2007 | 7:01 pm

    that was very helpful, thank you very much guys.

  4. Matt W
    November 17th, 2007 | 6:41 am

    Cheers John, was exactly what I was after.

    I have to agree it seems a bit mad this feature isn’t built into acrobat reader. Guess some of life simplicities get overlooked in the transition to the digital era!

  5. December 3rd, 2007 | 1:53 pm

    This is awesome. It is shocking that such basic functionality isn’t part of Adobe Reader. What is worse, Adobe uses the word “bookmark” for something related but different, making web searches for
    “real” bookmarks a pain in the neck. (I finally found this page using “acrobat reader bookmark a page”; use the current name of “adobe reader” and you’re out of luck.)

    I got this working under Adobe Reader 8 for OS X. The right directory for me was ~/Library/Acrobat User Data/8.0_x86/JavaScripts

    Thanks!

  6. December 3rd, 2007 | 4:07 pm

    Michael, thanks for the heads up and testing this in Adobe Reader 8! I made a couple of changes to the post to reflect your findings.

  7. Saket
    December 18th, 2007 | 6:07 pm

    Thanks John for the plugin. Works great.

  8. William
    December 27th, 2007 | 5:55 pm

    I had been pulling out my hair searching Adobe Reader 8 via F1(no help there!)for what I had thought would be a given. Keeping track of where I left off on my collection of various ebooks required an equally varied collection of Post-its. So much for paperless! Thanks so much for this plugin.

  9. December 29th, 2007 | 12:30 am

    OMG! Thankyou for this excellent plugin.

    I cannot believe that adobe didn’t have such a fundamental usability option by default.

    I’m on Vista Ultimate using adobe reader 8.1.1 and I copied the javascript to C:\Program Files\Adobe\Reader 8.0\Reader\Javascripts and it works just fine, again, thankyou.

  10. January 17th, 2008 | 5:45 am

    Very useful plugin, thanks.

  11. Ray
    January 21st, 2008 | 6:49 pm

    Can this be used with the Windows Mobile Adobe Reader?

  12. January 21st, 2008 | 7:59 pm

    Hi Ray, I don’t think it’s possible. The plugin is written with Javascript. I found this in the “Acrobat Reader for Pocket PC User Guide“:

    “Note: Adobe Reader for Pocket PC supports the scripting language FormCalc. It doesn’t support JavaScript, cannot update or validate calculations automatically, or populate a form’s fields automatically from a database.”

  13. January 30th, 2008 | 5:55 pm

    [...] I was looking for a bookmark feature in Acrobat and was dumb folded when I found out that it didn&#8… These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

  14. February 1st, 2008 | 3:25 pm

    [...] has a made a great plugin that enables you to bookmark pages in PDF documents. Go get it at his website right [...]

  15. February 2nd, 2008 | 5:39 am

    [...] iespēju būs vēl nedaudz jāpagaida, tad grāmatzīmju izmantošana gan tagad būs iespējama, jo John Ford ir radījis lielisku Acrobat Reader spraudni, kas veic elementāru grāmatzīmes [...]

  16. February 3rd, 2008 | 8:30 am

    [...] Kur sužinoti daugiau? Įrankio tinklalapyje. [...]

  17. February 3rd, 2008 | 6:58 pm

    [...] Beschrieben wurde ein solches Verfahren im Buch Bookmark PDF Pages in Reader (PDF) oder bei John Ford, der ein Javascript Plugin beschreibt. Dies wird nach dem Download einfach in das Adobe Reader [...]

  18. FW#13
    February 22nd, 2008 | 4:50 am

    Wow! Thank you so much for this. :) I’ve been looking for this feature for a long time, now reading on my PC won’t be such a pain.

  19. February 24th, 2008 | 7:22 pm

    [...] Bookmark A PDF Published January 30, 2008 asides , programming , technology Tags: acrobat, adobe, asides, bookmark, pdf, Reader I was looking for a bookmark feature in Acrobat and was dumb folded when I found out that it didn’… [...]

  20. Pat
    March 6th, 2008 | 4:16 am

    Its indeed a great feature and very helpful.
    Adobe has made good software but should include this plugin.
    Anyways, thanks a lot.

  21. Orlando
    March 22nd, 2008 | 11:58 am

    Excellent plugin!!! I’ve been looking for these feature in adobe reader from quite some time. It’s so simply I don’t understand why Adobe hasn’t implemented it. Thanks a lot!!! You just made my ebook reading a lot easier!!!

  22. Ionut
    March 24th, 2008 | 4:06 am

    Great plugin ! I was looking for something like that for a long time, since Adobe forgot to add this basic functionality (but very useful)

    I tested the script on Ubuntu and Fedora 8 and it’s working very well.

    I was wondering if there is a way to move the bookmarks to another computer.. Where is the information about the bookmark saved ?

  23. March 24th, 2008 | 7:57 am

    Hi lonut, glad to hear it works on Linux!

    On OS X the saved bookmark data is stored in:

    ~/Library/Acrobat User Data/8.0_x86/JavaScripts/glob.js

    On Windows it’s stored in:

    C:\Documents and Settings\[User Name]\Application Data\Adobe\Acrobat\8.0\JavaScripts\glob.js

    I imagine it’s similar on Linux and if you copy the glob.js to the other machine it should transfer just fine.

    Let us know if it works!

    Thanks.

  24. March 26th, 2008 | 7:41 am
  25. Kevin Naidoo
    May 8th, 2008 | 3:17 am

    Thank you very much! My main gripe about acrobat reader has been this simple functionality, the electronic equivalent of the physical bookmark. Now if only I can get it to work on Adobe Reader LE on Tytn II as well…

  26. David
    May 12th, 2008 | 9:45 am

    Works great! Just a tip for user klutzes like me: I couldn’t find the location he was listing for Windows, until I remembered to change the View setting so I could see hidden files. Then there it was.

  27. May 13th, 2008 | 4:57 am

    Works like a charm. Thanks.

    I tried the PDF hacks bookmarker and got an internal error in one of my PDFs.

    But your bookmarker works great.

    I originally wanted to create my own PDF reader/bookmarker based on Adobe AIR but encountered problems along the way.

    I think I’m sticking with your approach for now.

    Thanks again.

  28. i48998
    May 28th, 2008 | 12:18 am

    It doesn’t work for me, what am I doing wrong? I copied the file to the location, opened PDF file, did the bookmark, closed file, came back in, tried to go to the bookmark but it wouldn’t go.

  29. me
    May 30th, 2008 | 2:47 am

    I installed this per instructions. I am sure I did everything as stated - no problems finding the appropriate folders, etc., but I could not get it to work. I tried restarting Reader and even rebooting. But it’s not showing up in the menu.

    Any idea what’s wrong? I’ve got Reader 8.

  30. stanleykim
    May 31st, 2008 | 2:08 am

    It’s a great and simple.

    i would like to get keyboard shortcuts.

    It will be great!.

    anyway thanks a lot.

  31. May 31st, 2008 | 2:30 am

    What operating system are you on and what’s the exact version of Adobe Reader that you’re using if it’s not working for you?

  32. i48998
    May 31st, 2008 | 4:33 pm

    I’m on XP, Adobe 8.1.2.

    I installed that other plugin (pdf hacks) and that one worked fine.

  33. June 1st, 2008 | 12:28 pm

    i48998, do you know if the information is being stored in the glob.js file (C:\Documents and Settings\[User Name]\Application Data\Adobe\Acrobat\8.0\JavaScripts\glob.js)? It should say something about “global.pdf_bookmark=”. I tested it on Windows XP with Adobe Reader 8.1.2 and its working fine for me. Any error messages or other strange things happening?

    Thanks.

  34. June 2nd, 2008 | 8:36 pm

    I just wanted to say thank you for this great Acrobat Reader plugin you have made. I have to agree that the omission of this very basic usability feature in Reader is typical of a big company trying to get people to upgrade to the writer version of Acrobat. Probably some marketing decision that was agreed upon with open arms. Who knows? Anyways, I personally think a bookmark feature is and will be an imperative staple to electronic books and PDF reading. What you have made perfectly solves the problem Adobe should have solved originally.

    Well, keep up the great work John!

  35. Dale
    June 13th, 2008 | 3:26 pm

    I’ve been using this plugin for a while (thanks!), but had some issues after upgrading Ubuntu — the upgraded wiped out Acrobat Reader. I reinstalled it, but forgot to reinstall the plugin. It turns out the Linux 8.1.2 version of Acrobat Reader, at least, does indeed have this feature built in. The setting is buried, however. Go to Document - Accessibility Setup Assistant, click the “Next” button until you get to the last screen of the assistant, and there it is, “Reopen documents to the last viewed page”.

  36. June 27th, 2008 | 12:14 pm

    Whoooo hoooo…..at last someone actually made something usefull….no really well done….simple perfect works beautiful

  37. Michael
    June 27th, 2008 | 8:23 pm

    Thanks!! Great! Thanks for taking the time to post this for everyone’s benefit.

Leave a reply