Hi all,
I'm sure I'm not thet first one who's wanted some sort of PDF solution from Portable Firefox, so I figured I'd post what I came up with.
1) I downloaded Foxit, the portable PDF reader, and dropped it in PortableFirefox\firefox.
2) In Firefox, I went to the download options, chose 'plug-ins', and disabled the PDF mime-type.
3) After I'd done this, I opened a PDF on the web, and told it to open using Foxit (by pointing it at the Foxit location), and to remember the preference.
4) Finally, I edited PortableFirefox\profile\Mimetypes, and I removed the path for the Foxit executable, so that the part pertaining to the Foxit reader read as follows:
NC:path="FoxitReader.exe"
I then saved the executable, and that was that! PDFs from the web now open in a Foxit window without having to futz around with saving them someplace and opening them manually.
I followed your instructions and they all seem good but I can't understand why you do the last step, number 4. It doesn't seem necessary.
Also, do you still get the download window when you click on a pdf link before foxit opens?
Oh, one other thing, Foxit doesn't save pdfs properly, the only way I can get it to save is by going file>save as. The save button does nothing and file>save does nothing too, unless it saves it somewhere strange without telling you. I checked my usb drive for the file after clicking save and couldn't find it.
Right, foxit defaults to saving in C:\Documents and Settings\User\Local Settings\Temp. Which is not very good. Any way to change this to the root of your USB? Or somewhere else?
Step 4 ensures it's completely portable. If you move your USB drive to another computer, the drive letter may change, in which case it's good to have relative paths.
-
fatcerberus@yahoo.com [aim: fatcerberus]
I have no witty remarks or quotes to share at the moment.
In reading this forum, it appears that firefox won't work with adobe reader and that I have to download foxit. Is this correct? I ask this because firefox freezed up on me when openning a pdf document with adobe.
It doesn't freeze up, it's just that Adobe Reader is opened BEFORE the PDF is downloaded. It's not like a regular download where you download the entire file and then open it.
-
fatcerberus@yahoo.com [aim: fatcerberus]
I have no witty remarks or quotes to share at the moment.
I am currently experiencing the same problem. I am using PFF browser for my application that links to .pdf files. I followed the steps above, and still obtain the same result when displaying .pdf file(s) from the application.
Is there any other solution to this problem?
How about if I add reader installer to my application installer (.nsi installer), then put the resulting plugin .dll in the plugins folder?. Would this work?
How does PFF know when to use Adobe plugin to open a .pdf file? Is there any documentation that explains this process?
Tools>Options>Downloads>View and Edit Actions
It's in there.
----
R McCue
PortaBlog Home and My Website
PortaBlog is now officially out of beta!
"If you're not part of the solution, you're part of the precipitate."
Yes, Steps 1-4 allowed me to open PDFs from the web and even from my local machine, in a Foxit window, if they are outside of my application.
The question is: with my application bundled inside PortableFirefox, can I open PDFs from within my application in a Foxit window?
I downloaded the latest Adobe 7.0 Reader. I then used the new nppdf32.dll plugin in my application and that resolved my problem. Thanks.
I can't remove the type. It may be because I have the PDF Download extension. I set it do disable, so when I update (which will be in a few minutes), Fx will restart with it disabled. I'll post the result.
Vintage!
Yeah, you can't remove any file types, because the installed plugins determine what file types show up in that list. You can only change their settings. I don't know why the "delete" button is even there at all.
-
Lauren She eats everything! It's like having a goat. A giant, two-Godzillaton goat.
maggie Hey, I resent that remark! I only weigh ONE Godzillaton!
~ Spectacles: Bruce's Story
I just changed the action to use Foxit.
Vintage!