Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Firefox components supposedly being accessible by chrome urls (aka. "chrome:// protocol"). How do I open the now built-in pdf.js pdf reader?

I would like to open local pdf files but does not want to change my about:config settings that are currently set to download pdfs automatically without asking.

edit I've tried to enable pdfjs.disabled temporarily in order to be able to use some instrospection over a pdf.js opened random pdf file via dom inspector addon, but I've just recently found this addon (from Foxy Detective's XUL tag) and while I tried to use File menu > inspect chrome document I still couldn't find a way to see the chrome url for the built-in pdf.js.

share|improve this question
Nice link! Now I can enjoy my recursive browsing session. :) – Karan Jul 1 '13 at 4:38
up vote 4 down vote accepted

Try resource://pdf.js/web/viewer.html (deduced from bootstrap.js file in PDF Viewer extension but seems to works without the extension too).

There may be problem with opening files, e.g. toolbar button to open file is hidden by default. (Unless you'll figure something out)

share|improve this answer
extra thanks for sharing how did you found it out! Now I only will have to forge some css with an userscript! – n611x007 Jul 1 '13 at 13:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .