X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How to open local PDFs with the new PDF viewer?

Posted

I'd like to use the new built-in PDF viewer in Firefox 19.0 Beta to view local PDFs from my computer. But when I try to open one with Firefox, instead of opening it with PDF.js, Firefox gives me a dialog asking "What should Firefox do with this file?" There isn't an option in Tools/Options/Applications to use PDF.js by default, so how can I use it for local files?

Chosen solution

I am not on the same OS, but do you not have an option to Preview in Firefox/Beta. You will need to disable any PDF plugins first of all.

If you are able to see web based pdf files ok I see no reason why it will not work on local files as long as you have permissions to access the file path involved.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.5 r502
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • RealPlayer Download Plugin
  • RealNetworks(tm) RealDownloader Chrome Background Extension Plug-In
  • RealNetworks(tm) RealDownloader PepperFlashVideoShim Plug-In
  • RealNetworks(tm) RealDownloader HTML5VideoShim Plug-In
  • RealDownloader Plugin
  • Next Generation Java Plug-in 1.6.0_37 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.0
  • Google Update
  • 4.1.10329.0
  • Picasa plugin
  • VLC media player Web Plugin 2.0.0-rc
  • Unity Player 3.4.2f3
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.3.633
  • GEPlugin
  • NPWLPG
  • np-mswmp

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0

More Information

Application Basics
Name
Firefox
Version
19.0
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Adblock Plus
2.2.1
true
{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Aptana Debugger
1.7.2
true
debugger@aptana.com
CacheIt!
2.0.3
true
{98449521-9320-4257-aa35-9e1a39c8cbe0}
Canadian English Dictionary
2.0.5
true
en-CA@dictionaries.addons.mozilla.org
ChatZilla
0.9.89
true
{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}
Classic Compact Options
16.0.1
true
notreal.ccoptions@environmentalchemistry.com
Cookies Manager+
1.5.1.1
true
{bb6bc1bb-f824-4702-90cd-35e2fb24f25d}
Customizable Shortcuts
0.5.10
true
customizable-shortcuts@timtaubert.de
DownloadHelper
4.9.13
true
{b9db16a4-6edc-47ec-a1f4-b86292ed211d}
ErrorZilla Mod
0.42
true
ErrorZillaMod@jaybaldwin
Expression Evaluator (using BODMAS)
1.9
true
expressionevaluation@pratikpoddar
FEBE
7.1.0
true
{4BBDD651-70CF-4821-84F8-2B918CF89CA3}
Firebug
1.11.1
true
firebug@software.joehewitt.com
Firefox OS Simulator
1.0
true
r2d2b2g@mozilla.org
Flip or Rotate Image
0.6.1
true
jid0-AGJXXzyS0rT1UudxcYiNRjbGttc@jetpack
Greasemonkey
1.5
true
{e4a8a97b-f2ed-450b-b12d-ee082ba24781}
Hotspot Shield Helper (Please allow this installation)
1.0
true
afurladvisor@anchorfree.com
HTTPS-Everywhere
3.1.2
true
https-everywhere@eff.org
iMacros for Firefox
7.6.0.2
true
{81BF1D23-5F17-408D-AC6B-BD6DF7CAF670}
Java Console
6.0.37
true
{CAFEEFAC-0016-0000-0037-ABCDEFFEDCBA}
MeasureIt
0.4.10
true
{75CEEE46-9B64-46f8-94BF-54012DE155F0}
Rainbow
1.5.1
true
rainbow@colors.org
RealDownloader
1.3.0
true
{34712C68-7391-4c47-94F3-8F88D49AD632}
Restartless Restart
8
true
restartless.restart@erikvold.com
Searchbar Autosizer
2.0.14
true
{655397ca-4766-496b-b7a8-3a5b176ee4c2}
Tab Mix Plus
0.4.0.4pre.121231a
true
{dc572301-7619-498c-a57d-39143191b318}
Tab Preview
0.3
true
{1de0de3c-0b5c-4f67-90c6-689623894991}
YouTube mp3
1.0.4
true
info@youtube-mp3.org
Fastest Search
2.28
false
fastestsearch@mingyi.org
Fission
1.0.9
false
{1280606b-2510-4fe0-97ef-9b5a22eafe41}
Java Console
6.0.33
false
{CAFEEFAC-0016-0000-0033-ABCDEFFEDCBA}
NoScript
2.6.4.2
false
{73a6fe31-595d-460b-a920-fcc0f8843232}
Second Search
0.7.2012122901
false
{0AE5CAA4-8BAB-11DB-AF59-ED4B56D89593}
startup.service
0.2
false
startup.service@mozilla.com
Tab Progress Bar
0.6
false
tabprogressbar@studio17.wordpress.com
Important Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
accessibility.warn_on_browsewithcaret
false
browser.cache.disk.capacity
358400
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size.use_old_max
false
browser.cache.disk.smart_size_cached_value
358400
browser.history_expire_days.mirror
180
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
4
browser.privatebrowsing.dont_prompt_on_enter
true
browser.search.useDBForOrder
true
browser.startup.homepage
about:home
browser.startup.homepage_override.buildID
20130109111322
browser.startup.homepage_override.mstone
19.0
browser.tabs.onTop
false
browser.tabs.warnOnClose
false
dom.mozApps.used
true
extensions.lastAppVersion
19.0
font.minimum-size.x-western
10
font.name.monospace.x-western
Consolas
font.name.sans-serif.x-western
Helvetica
gfx.direct3d.checkDX10
false
network.cookie.prefsMigrated
true
network.image.imageBehavior
0
places.database.lastMaintenance
1357607880
places.history.expiration.transient_current_max_pages
76931
places.history.expiration.transient_optimal_database_size
123089550
places.last_vacuum
1293303737
plugin.disable_full_page_plugin_for_types
application/pdf
print.print_printer
Microsoft XPS Document Writer
print.printer_Microsoft_XPS_Document_Writer.print_bgcolor
false
print.printer_Microsoft_XPS_Document_Writer.print_bgimages
false
print.printer_Microsoft_XPS_Document_Writer.print_command
print.printer_Microsoft_XPS_Document_Writer.print_downloadfonts
false
print.printer_Microsoft_XPS_Document_Writer.print_edge_bottom
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_left
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_right
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_top
0
print.printer_Microsoft_XPS_Document_Writer.print_evenpages
true
print.printer_Microsoft_XPS_Document_Writer.print_footercenter
print.printer_Microsoft_XPS_Document_Writer.print_footerleft
&PT
print.printer_Microsoft_XPS_Document_Writer.print_footerright
&D
print.printer_Microsoft_XPS_Document_Writer.print_headercenter
print.printer_Microsoft_XPS_Document_Writer.print_headerleft
&T
print.printer_Microsoft_XPS_Document_Writer.print_headerright
&U
print.printer_Microsoft_XPS_Document_Writer.print_in_color
true
print.printer_Microsoft_XPS_Document_Writer.print_margin_bottom
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_left
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_right
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_top
0.5
print.printer_Microsoft_XPS_Document_Writer.print_oddpages
true
print.printer_Microsoft_XPS_Document_Writer.print_orientation
0
print.printer_Microsoft_XPS_Document_Writer.print_page_delay
50
print.printer_Microsoft_XPS_Document_Writer.print_paper_data
1
print.printer_Microsoft_XPS_Document_Writer.print_paper_height
11.00
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_type
0
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_unit
0
print.printer_Microsoft_XPS_Document_Writer.print_paper_width
8.50
print.printer_Microsoft_XPS_Document_Writer.print_reversed
false
print.printer_Microsoft_XPS_Document_Writer.print_scaling
1.00
print.printer_Microsoft_XPS_Document_Writer.print_shrink_to_fit
true
print.printer_Microsoft_XPS_Document_Writer.print_to_file
false
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_bottom
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_left
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_right
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_top
0
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.enable_java
true
security.warn_viewing_mixed
false
security.warn_viewing_mixed.show_once
false
Graphics
Adapter Description
Intel(R) HD Graphics
Adapter Drivers
igdumd64 igd10umd64 igdumdx32 igd10umd32
Adapter RAM
Unknown
Device ID
0x0046
Direct2D Enabled
true
DirectWrite Enabled
true (6.1.7601.17789)
Driver Date
1-10-2012
Driver Version
8.15.10.2622
GPU #2 Active
false
GPU Accelerated Windows
1/1 Direct3D 10
Vendor ID
0x8086
WebGL Renderer
Google Inc. -- ANGLE (Intel(R) HD Graphics)
AzureCanvasBackend
direct2d
AzureContentBackend
direct2d
AzureFallbackCanvasBackend
cairo
JavaScript
Incremental GC
true
Accessibility
Activated
false
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.4 Beta
4.9.4 Beta
NSS
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSMIME
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSSL
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSUTIL
3.14.1.0
3.14.1.0

John99
  • Top 25 Contributor
  • Moderator
622 solutions 8022 answers

Chosen Solution

I am not on the same OS, but do you not have an option to Preview in Firefox/Beta. You will need to disable any PDF plugins first of all.

If you are able to see web based pdf files ok I see no reason why it will not work on local files as long as you have permissions to access the file path involved.

Question owner

Thanks, disabling Adobe Reader fixed the problem. Hopefully later versions of Firefox will allow the use of PDF.js and Adobe Reader for different file types.

Modified by SenorBiggles

John99
  • Top 25 Contributor
  • Moderator
622 solutions 8022 answers

Glad it worked, thanks for posting back.

I am not sure that there are any plans to make firefox emulate all of the Adobe reader features,but there are also other applicatinos available that will read or even edit or create PDF files.

Artfunkel 0 solutions 1 answers

Even uninstalling Adobe Reader didn't help me. I had to go to my profile directory and delete mimeTypes.rdf before Firefox stopped trying to download local PDF files.

Modified by Artfunkel