How to disable print and download button of pdf file when i am opening mozila firefox using java script

i am opening pdf file in firefox browser in right side i am seeing print and download option
i want to disable it by program like javascript, by manualy i can disable it ,
actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

If it's that critical, you could explore this partial workaround:
Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

Similar Messages

  • How do I copy the URL of a PDF file that I have opened in FireFox using FoxIt Reader add-on?

    This does NOT seem to be a FoxIt question because, when I use FoxIt 5.0 as my PDF reader in Internet Explorer 8, I do not have this problem. I have encountered the problem only when using FoxIt 5.0 as my PDF reader in FireFox 4.0. The problem is quite annoying. I NEED to capture the URLs of the PDFs I view and I prefer to use FireFox as my browser. The problem exists because no destination field is displayed when FoxIt opens in FireFox. A destination field IS displayed when FoxIt opens in IE.

    Another option for sending large files is to use :
    http://www.filedropper.com/
    You upload the files to the website and it creates
    a URL that you can copy and paste into an email
    which you send to the recipient and they use the
    generated link to get the file.

  • How to disable HTML and Download excel sheet

    Hi ,
    i've some reports in my dashboards, i've enable report links for print and download, When i click on print button we can get PDT,HTML. I need only PDF. not HTML. How to disable HTML in print button. and also when click download button i need to see only download to Microsoft excel . Can any one help me out .

    Hi,
    Please refer the below links to remove the options
    http://obiee-tips.blogspot.com/
    Hope this helps
    Regards
    MuRam
    Edited by: MuRam on Jan 11, 2012 2:57 AM

  • Disable Print and Save button in tooldbar in AxAcroPDFLib.AxAcroPDF

    Hi,
    I am using AxAcroPDFLib.AxAcroPDF  to display pdf files in my C# winform application.
    I have a requirement now that for some documents alone i should disable the print and save button in the toolbar of my AxAcroPDFLib.AxAcroPDF window.
    I need the rest of the buttons in the toolbar to be working.
    Can someone please tell me how to disable these buttons in my c# code. What property i hsould set to my AxAcroPDFLib.AxAcroPDF object to make this happen.
    Hoping to get an answer soon.
    Thanks and Regards,
    Dinesh.N

    There is nothing you can do via the C# APIs to disable these buttons.

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • How to disable block and delete button in me22n transaction

    Hi experts !,
    as per my requirement i want to disable delete and block button in me23n . for this i wrte my logic but problem
    is when my logic satisfies then i want to disabele those two buttons . those block button function code is 'MEPO1211LOCK'
    if it is screen field we can use loop at screen and input = 0 . but here it is funtion code how to disable this funtion code as per
    condition .
    i tried this  SET PF-STATUS ' pf status name ' EXCLUDING ' fucntion code name  '.  also but not working ..
    if any one have any idea pls share ......

    Hello Experts,
    I have similar requirement. Please help....

  • How to disable back and refresh buttons in browser

    Hi,
    I need to disable the back and refresh buttons of the browser on the click of a button in a jsp as the process takes some time to be completed and i want to prevent the user from refreshing the screen.
    How can this be done?
    Thank you

    hi ,
    Can you try with the value i.e
    String s1 = oapagecontext.getParameter("value"); or button event can also be handle this way
    if ("BUTTON_EVENT".equals(event))
    - business logic
    Which screen you 're working by the way ?? if i have an access i will check it out and tell you
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to disable minimize and maximize buttons of a popup window

    hello.
    can someone please tell how to disable the minimize and maximize buttons for a popup window.
    i know this is very basic concept.. but iam new to jdeveloper..please someone help me out

    Hello,
    U can use script in ur page to open the Popup window.
    window.open("yourpage.do", window_name, 'toolbar=0,scrollbars=0,location=0,status=yes,menubar=0,resizable=0,width=600,height=400,left = 225,top = 140');
    Bye

  • How to disable printing and emailing from a specific pdf in iBooks?

    I need to prevent the iPad user to print or email a pdf published in iBooks. Thanks for your help!

    I don't believe that Apple sells PDF files from the iBookstore, only EPUB files.
    If you created the PDF file in Acrobat, you can set security (see the Help file in Acrobat) but if you installed it in iBooks application, I don't know if Apple respects the security you set in the PDF.

  • How do I print 2 pages from a pdf file and enlarge it

    how do i print 2 pages from a file and enlarge it  to email

    Hi stevebulldog,
    Do I understand correctly that you'd like to extract two pages from a PDF, and then send them via email?
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see http://www.adobe.com/products/acrobat.html.
    I'm not sure what you mean by "enlarge" it. When your recipient views the PDF, they can enlarge the view (zoom in on the PDF) by choosing options from the View menu in Acrobat or Reader.
    Best,
    Sara

  • After closing out, FF will not restart, says it is already running forcing me to reboot. I have removed and re-installed FF and still get the same message when trying to open the internet using FF. How can this be fixed?

    When I close out Firefox, and return later to use the internet, I click on Firefox and it gives me a message stating that Firefox is already running and needs to be closed before restarting or reboot my system. This occurs every time Firefox is closed and attempt to re-start it,,, not only at times,,,, EVERY time.
    I have tried removing Firefox from my system and re-installing to fix this issue however,,, this did not work. After re-installing, I still get the same message when attempting to restart Firefox.
    I have also tried Ctrl, Alt, delete to open the task manager and find there is no task to close.
    I do not have any problems when using IE, I prefer to use Firefox as it is faster and crashes less than IE.
    I am very frustrated at having to reboot my system each time I want to use the internet.
    How can this problem be repaired?

    There are various causes for this error, see [[Firefox is already running but is not responding]] for details.

  • How to not print a section inside a PDF file

    Hey PDF nation,
    I have full color PDF file with multiple pages on our site which has a blue background all over. The issue is if you want to print it, you'll run out of ink. On the other hand I can't change the design and make the background white. Is there anyway to tell your PDF file to print some sections differently or not to print? Am I out of luck?
    Thanks in advance.

    You're out of luck, unless you have Photoshop or Illustrator in which you can open the PDF and edit it.

  • How do I reopen and change an existing pdf file

    I have pdf files in acrobat.com
    I want to make changes to an existing file.
    Can you do this or do you have to rewrite the whole file?

    Hi donk58183198,
    You can edit files that you've stored in your Acrobat.com online account, but you need to download them first. Log on to https://cloud.acrobat.com/files and select the file that you want to download, then click Download at the top of the file list.
    Your file will download to the Downloads folder on your computer. To edit a PDF file, you'll need to use Acrobat (not Reader). You can download a free 30-day trial from http://www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • How do i copy and paste signature to pdf file

    how do i copy and paste my signature to a pdf. file

    You don't.  You include your signature in the file that PDF was created from.

  • Can I edit with Smart Print the same way I could with Smartweb Printing and then save as PDF files.

    With Vista basic and SmartWeb Printing you had the option to edit your pages and then to save or print them in the PDF format. This way you could customise various pages pages, save them to a file and then reopen the whole file to see if you wanted to make any further changes before printing the final copy.
    sharjor

    Steve M. wrote:
    I installed the full suite of Canon printing, scanning, faxing and whatever else software they provide for this all-in-one.
    Maybe you don't need that. I prefer using Apple's Image Capture for scanning.
    Right now I am working on scanning documents into PDFs. The Canon software lets me create multipage PDFs which is something I've been wanting to do. My question is, is it best to scan images as JPEGs and then save them as a multipage PDF or is it best to scan into PDF directly (which the scanner seems to offer as well) and then save as a multipage PDF? I'm thinking in terms of the best optimization of file size vs. image quality and things like that.
    Let the software do it for you. That will be fewer steps for you. Image-based PDFs are going to be large. There is no way around that. If they are too large, you can use Preview's Save As feature and play around with the Quartz Filter.
    Is the scanner actually doing anything differently when scanning into JPEG vs. PDF? Or is the scanning all the same and it's just the saving of the file that is different?
    Scans are scans. The JPEG file format is lossly and will look worse than other types. If you are scanning in photographs, the JPEGs will look good. If you are scanning in crisp text, JPEGS will have lots of artifacts and look bad.
    In general what dpi setting is usually sufficient to use to scan a basic text document without taking up too much file space?
    I pretty much always keep it at 300 unless I need something special or when the original is really small and I intend to blow it up.

Maybe you are looking for