Inline PDF solution available for Camino 2.0a1pre buildsModerator: Camino Developers
37 posts • Page 1 of 3 • 1, 2, 3
June 18th, 2008, 2:06 pm
Edit 2009-10-06:
DO NOT USE THIS PLUG-IN; use the new version of the Schubert PDF Browser Plugin instead. We have discovered over the course of this thread that the Firefox PDF plugin is buggy, causes crashes, and requires a very complex and unfriendly installation method. ---- As seen on Mac OS X Hints, there's a new PDF plug-in available for Mac OS X 10.4 and 10.5. It mostly works in Camino trunk (2.0a1pre) builds, too. It's packaged as a Firefox extension with a XUL wrapper around the actual NPAPI plug-in; however, the actual NPAPI plug-in (pdfplugin.plugin) does work in Camino trunk (2.0a1pre) builds, too. Just download the .xpi file ("Install Now" link), rename the .xpi file to .zip, unzip it, and put the pdfplugin.plugin from the "plugins" folder in (~)/Library/Internet Plug-ins on your Mac and relauch Camino. Some keyboard shortcuts (arrow keys/pgUp/Dn/home/end for navigation) don't work, but scrolling with the scrollbar/trackpad works, as do zoom in/out (cmd-=/-). Selection of text and copy work, also. It's certainly usable, though. Note the plug-in is not compatible with Camino 1.6.x (presumably it uses the new plug-in models introduced in Gecko 1.9), and it breaks the existing "auto-download" of pdfs in Camino 1.6.x on Intel Macs. Last edited by Uncle Asad on October 6th, 2009, 9:18 am, edited 2 times in total.
Reason: warn that this thread is old and the plugin shouldn't be used Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQ Search the Forum Camino. Help Troubleshoot Camino
June 18th, 2008, 2:59 pm
Some other notes:
• The plug-in doesn't seem to support standard PDF page/fragment identifiers • It can occasionally eat the next/previous tab shortcuts • If you switch back and forth between 1.6.x and 2.0a1pre builds and don't want to kill 1.6.x's ability to download PDFs, you can store the plug-in in the 2.0a1pre Camino.app/Contents/MacOS/plugins folder Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQ Search the Forum Camino. Help Troubleshoot Camino
June 18th, 2008, 3:56 pm
Very cool, thanks for the tip!
June 18th, 2008, 10:44 pm
So long Manfred...
There is no dark side of the moon, really. As a matter of fact, it's all dark.
Camino Trunk nightlies-O2 -prescott INTEL
June 18th, 2008, 11:17 pm
Also, note that the author of this plug-in is releasing new versions very quickly, so be sure to check back there for updates. The latest version fixes some keyboard nav bugs (but between the plug-in and focus bugs in Gecko 1.9, it’s hard to tell what’s a bug in the plug-in and what’s just horribly broken in Gecko
Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQ Search the Forum Camino. Help Troubleshoot Camino
October 5th, 2008, 7:47 am
In the last few days there have been a few new builds (after a three month period without any activity). However, when I tried the newest version (0.9.9.5), Camino crashed when opening a PDF.
October 5th, 2008, 2:16 pm
Fortunately, there seems to be an easy fix, if a rather ugly one The author has changed how he does certain things in the newer versions and, rather than using the plug-in API, is using XPCOM, which means he's added a bunch of files. The only way to use the plug-in now is to perform surgery on Camino itself. 1) Download the latest version from http://code.google.com/p/firefox-mac-pdf/ ("Install PDF Plugin" link) 2) Rename the .xpi file .zip (so Mac OS X will know how to expand it) and double-click to extract the files 3) Copy the "pdfplugin.plugin" file into Camino.app/Contents/MacOS/plugins 4) Copy the contents of the "components" folder into Camino.app/Contents/MacOS/components N.B. You will need to repeat this procedure any time you install or upgrade Camino. See the previous posts for some of the known problems with the plug-in in Camino. Edited to supply a better step-by-step set of instructions Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQ Search the Forum Camino. Help Troubleshoot Camino
October 5th, 2008, 4:47 pm
So it better not to upgrade? or is the upgrade worth it?
November 1st, 2008, 6:34 pm
I just tried installing this following Uncle Asad's instructions for 0.9.9.5. I put the pdfplugin.plugin file in Camino.app/Contents/MacOS/plugins, and the contents of the components folder inside the xpi in Camino.app/Contents/MacOS/components.
Nevertheless, each time I click on a PDF link Camino crashes. Do any of you have this working? Or does anyone have an old version that they could perhaps send to me?
November 1st, 2008, 9:17 pm
I could not get it to work either. You can use the bookmarklet below and use PDFMENOT online flash to open in browser. The bookmarklet creates a link next to any pdf link on a webpage. Click it and it will open in PDFMENOT.
ex. http://www.letterfu.com/letters/plain-lilac-letter.pdf Put bookmarkelet in bookmark bar and click it. A PDF link appears in Camino next to example link.
November 1st, 2008, 9:54 pm
Very cool! Thanks for the tip.
November 1st, 2008, 10:19 pm
It works for me; I don't have any idea why it's not working for you
In my experimenting (and ozean's report above), the crashes came about because the stuff that belongs in Camino.app/Contents/MacOS/components/ was missing. Perhaps double-check that you have PDFplugin.xpt, PDFService.js, and PDFService.xpt in Camino.app/Contents/MacOS/components/ ? In the end, because of all the focus/plug-in bugs in Gecko 1.9 and the new hackery required to install it, it's not a very elegant solution even when it is working, which is unfortunate. If you're on PPC, I think you're probably far better off with the ancient Schubert plug-in; on Intel, simply downloading the PDF, clicking Open, and then clicking Trash when you're done if you don't want the PDF is still a more effective workflow. Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQ Search the Forum Camino. Help Troubleshoot Camino
November 1st, 2008, 10:55 pm
You can also go back to fx-quartz-pdf-0.9.9.xpi
http://code.google.com/p/firefox-mac-pd ... nloadCount
November 2nd, 2008, 2:10 pm
This instantly crashes the nightly (Version 2.0b1pre (1.9.0.4pre 2008103000)) upon loading a pdf file on my machine.
November 2nd, 2008, 2:33 pm
I was able to get it to work using the version that "stardomains" linked to. The new version crashes Camino without fail.
37 posts Page 1 of 3 • 1, 2, 3
Who is onlineUsers browsing this forum: No registered users and 5 guests |
|