Firefox PDF.js Extension To Open PDF Documents Natively - gHacks Tech News

Firefox PDF.js Extension To Open PDF Documents Natively

Browser developers add new features to web browsers all the time. Sometimes those features improve the browser's usability. This is for instance the case with the native pdf reading capabilities of the Chrome browser. Instead of having to install a third party plugin for that functionality or to download the pdf document first to read it offline, one can simply load it in the browser to read it online.

You may have heard about the pdf.js project. It basically an HTML5 based pdf renderer that can be used to display pdf documents directly in the browser without the use of plugins.

One of the core benefits of building a pdf renderer using HTML5 and JavaScript is that the user experience will be identical on all support browsers and machines. How users access pdf documents nowadays depends largely on the browser and plugin they use, and the sheer number of solutions decrease the user experience and even compatibility due to differences in support features.

firefox pdf.js extension

The developers plans to implement pdf.js in Firefox to render pdf documents natively in the browser. They are currently working on adding features and optimizing the performance of the technology to make it ready for a prime time release. For now, it has been made available as a Firefox extension that can be downloaded from this link. The restartless add-on will from that moment on render all pdf documents directly in the Firefox web browser.

A click on a pdf loads the pdf document directly in Firefox. A control bar is displayed at the top. Here it is possible to go to the next, previous or a specific page, change the zoom level of the pdf file, print or download it, or load a pdf from the local computer to read it in the web browser.

The feature that is missing most right now is a search option to find text in the document fast.

Firefox users can read more about pdf.js on the developer site.

Update: Mozilla has integrated pdf.js in the browser and while it is disabled currently by default, it will be enabled from Firefox 19 on. Check out this guide on how to enable Firefox's PDF Reader in earlier versions.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Paul(us) said on October 27, 2011 at 7:00 pm
    Reply

    Personly I think that this is a good development this integration. I have a quistion for you Martin: I am using the Nitro pdf reader and with this i can read pdf documents in main firefox, do you think main pdf reader Nitro will conflit with this new feature/add-on? Or do i get a change to choose or i want to open in firefox or Nitro?

    1. Martin Brinkmann said on October 27, 2011 at 7:03 pm
      Reply

      I’m pretty sure that they will include an option to turn off the native pdf reader.

  2. odio said on October 27, 2011 at 9:16 pm
    Reply

    cool!

  3. lookmann said on October 29, 2011 at 10:51 am
    Reply

    hi,
    one surely needs a pdf reader{basic} and installs one. all these now add plug-ins for IE/FF Browsers.where is the need for extra-fittings?
    i dont understand.

    1. Martin Brinkmann said on October 29, 2011 at 11:36 am
      Reply

      Lookman, pdf.js requires no plugin to be running in the background, that’s the difference.

  4. JC Bagtas said on December 13, 2011 at 8:58 am
    Reply

    How can I make it work in IE8? Or if it’s impossible, can you give me an advice on doing something like this on IE8. Thanks! :D

  5. danwat1234 said on January 15, 2013 at 4:21 am
    Reply

    Firefox 19 will have a built-in PDF reader and should be enabled by default. Problem solved

    1. Martin Brinkmann said on January 15, 2013 at 10:31 am
      Reply

      I’ll update the article to let everyone know about this. Thanks!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.