LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   PDF/document viewer for firefox (http://www.linuxquestions.org/questions/linux-software-2/pdf-document-viewer-for-firefox-812023/)

Josh000 06-03-2010 06:29 PM

PDF/document viewer for firefox
 
I'm trying to lock down firefox, and have currently stopped all downloads.

I am trying to find an addon for 3.6.3 that will allow viewing of pdf files within the browser, not requing them to be downloaded.

I have tried pdfdownload and the google docs viewer, and they both still come up with the download prompt when you try to access a pdf.

Can anyone recommend a way to make it so when you clikc on a pdf it opens in the browser, always?

Elv13 06-03-2010 11:42 PM

You could try the KPart firefox plugin, but it will most likely download them in /tmp, Adobe acrobat too. This is not magic, or they stay in the cloud (Googledoc, Zoho) or they are cached on the computer. An hack would be to add a little ramdisk buffer in your memory, so it is never written on the disk. Internet->ram can't work without a ramdisk. Every application need a cache before loading something.

You could enable SELINUX if it is available for your distribution and restrict firefox to use only the ramdisk, so it can not even browse your system (even less write to it).

Josh000 06-04-2010 02:32 AM

Well, it is no problem if they are temporarily stored in /tmp or the cache, as this is exactly the same process as how images are treated.

I just can't seem to get it not to treat it as though I want to download the file, no matter what I do.

H_TeXMeX_H 06-04-2010 09:48 AM

Try:
http://mozplugger.mozdev.org/

you can embed any player in FF, including any pdf viewer you want, like xpdf for example.

tommyttt 06-05-2010 02:52 AM

The file has to be downloaded, else it couldn't be displayed. Acrobat or any embedded viewer needs the data that you want to view, it can't just make it up on the spot. Just like a web page, the image data comes first, then the viewing.

Tom

omay 06-05-2010 04:18 AM

I have the same question.thanks for the information. I can try it then.

Josh000 06-06-2010 10:43 PM

Quote:

Originally Posted by tommyttt (Post 3993088)
The file has to be downloaded, else it couldn't be displayed. Acrobat or any embedded viewer needs the data that you want to view, it can't just make it up on the spot. Just like a web page, the image data comes first, then the viewing.

Tom

Right...did you read what I said above?

There is a difference between everything being downloaded and stored in the cache, and something being downloaded in order to save it to a suer specified location.

My issue is that at the moment there is no way to have it view and only be stored temproarily in the cache, which is what addons like pdfvue should be doing.

It seems the adobe plugin is the only one that works properly.


All times are GMT -5. The time now is 04:22 AM.