LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-03-2010, 05:29 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
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?
 
Old 06-03-2010, 10:42 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
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).
 
Old 06-04-2010, 01:32 AM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
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.
 
Old 06-04-2010, 08:48 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Try:
http://mozplugger.mozdev.org/

you can embed any player in FF, including any pdf viewer you want, like xpdf for example.
 
Old 06-05-2010, 01:52 AM   #5
tommyttt
Member
 
Registered: Oct 2009
Location: Federal Way, WA
Distribution: openSUSE 11.4 x86_64, openSuSE 12.1, Fedora 15
Posts: 207

Rep: Reputation: 34
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
 
Old 06-05-2010, 03:18 AM   #6
omay
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
Smile

I have the same question.thanks for the information. I can try it then.
 
Old 06-06-2010, 09:43 PM   #7
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by tommyttt View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xane scans to a pdf which Document Viewer cannot print taylorkh Linux - Software 5 09-29-2010 02:58 PM
evince document viewer in opensuse sumeet inani Linux - Newbie 2 02-24-2009 10:31 PM
viewer pdf cant read a big document debianlam Linux - Software 2 05-08-2008 09:21 AM
Complex document viewer _Lukes Linux - Software 4 11-20-2006 10:39 AM
Foxit PDF Reader 1.3: A Nice PDF Viewer Cinematography Linux - Software 6 05-03-2005 04:36 PM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration