Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
Nice link! Now I can enjoy my recursive browsing session. :) –  Karan Jul 1 '13 at 4:38

1 Answer 1

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! –  naxa Jul 1 '13 at 13:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.