You are here

Possible to use portable FoxIt as embedded PDF reader?

8 posts / 0 new
Last post
durex
Offline
Last seen: 1 year 2 months ago
Joined: 2005-12-09 17:33
Possible to use portable FoxIt as embedded PDF reader?

As the title states... is it possible to use FoxIt reader portable as the embedded PDF reader? I tried copying "npFoxitReaderPlugin.dll" from an existing install on a PC where the normal version FoxIt reader has been installed and placed in the FF portable plugins folder, but while I get the initial loading progress bar, the PDF never loads.

Thanks!

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 44 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

I believe it only works with an installed copy of Foxit. You can, however, associate PDFs in Firefox Portable with Foxit Portable and have them automatically open. You just associated it with FoxitPortable.exe. The Firefox Portable launcher will adjust the path as you move around.

Sometimes, the impossible can become possible, if you're awesome!

durex
Offline
Last seen: 1 year 2 months ago
Joined: 2005-12-09 17:33
Yea, thats how Ive been

Yea, thats how Ive been setup. Correct me if Im wrong here, but there's no way to embed the viewer right, its just to open in the external program?

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 44 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Installed Only

The plugin DLL only works with an installed Foxit reader, not a portable one.

Sometimes, the impossible can become possible, if you're awesome!

durex
Offline
Last seen: 1 year 2 months ago
Joined: 2005-12-09 17:33
Just out of curiosity, do you

Just out of curiosity, do you know of any PDF readers that you can embed in FF and still keep portable?

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 44 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

All the DLLs are designed to only work with the local install. The one exception is Sumatra, which would require you to copy not just the DLL but all of Sumatra to the plugins directory and it would then store its data there as well. It won't interact with or use the settings of your copy of Sumatra Portable. I'm just recalling from memory on it working, it may or may not work with the current version. And we don't support it in the fashion.

Personally, I never use embedded PDF viewers as they never seem to work as well as just launching it in its own app. There's no real advantage to them other than not having another window open.

Sometimes, the impossible can become possible, if you're awesome!

trlkly
Offline
Last seen: 12 years 2 weeks ago
Joined: 2008-05-12 21:07
Yes, there is an advantage.

Yes, there is an advantage. The plugin opens the PDF as soon as it can show the first page. Downloading and then opening in a separate program requires you to download the entire PDF.

Yes, some PDF readers have an Open URL option, but then you have to right click and copy the URL, start your PDF program, choose Open URL, and then paste it in. There's a huge lack of convenience there.

If only you could configure browsers to just send the URL to the separate program, then I would agree with you.

Anyways, for portable PDF viewing in browser, use Google: either Chrome, or Google Docs. There's even a Greasemonkey script that will automatically convert all PDF links to Google Doc PDF links.

Yay. Another BB account.

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 44 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Security Risk

Embedded PDF readers are also a security risk. PDFs have been a good attack vector for getting code running on a PC and when a PDF plugin is embedded in a browser, it will open a PDF without even prompting the user, meaning that a site can use a hidden PDF in a hidden sub-frame as an attack vector without the user even knowing.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments