Note that there are some explanatory texts on larger screens.

plurals
  1. PODisable the possibility to print a PDF in a browser running on a kiosk-mode computer
    text
    copied!<p>I'm developping an application which will be used inside a web browser (Firefox or Chrome). One part of this app will display a PDF. However, with the standard PDF viewers, there are some functionalities included that I don't want the user to have (e.g. print, save to disk, ...). I've found <a href="https://github.com/mozilla/pdf.js" rel="nofollow">this</a> great project about a customizable pdf viewer for mozilla. This allows me to restrict the user's possibilities. Now I'm wondering if it's possible to achieve the same in Google Chrome. So far I haven't found anything about customizing the standard PDF viewer of Chrome. Is there anyone who knows a way to do this, or knows a customizable viewer like the one I've found for mozilla? Thank you.</p> <p><strong>Update:</strong></p> <p>The browser will run in <strong>kiosk mode</strong>, so the user will not have access to any function other than viewing a web page (no address bar, no menu, nothing). Also, no keyboard will be present, since the application will be used on a touch screen.</p> <p><strong>Update 2:</strong></p> <p>First of all, why has this question been moved from programmers to stackoverflow?? When I ask this type of 'open' questions here, they get closed instantly. Thanks for the downvote. I guess, for people, questions that can't be answered with 3 lines of code are too hard.</p> <p>Second, concerning the printing of PDF: I see some people mentioning ways to print PDF files. The user will have none of these options available because:</p> <ul> <li>There will be no printers available in the eventual setup of the system.</li> <li>There will be no keyboard or mouse, only a (limited) touch interface.</li> <li>The webpage will not be available from anywhere except the intented location.</li> <li>The user will not be able to access the underlying OS.</li> </ul> <p>Disabling the ability to print is not hard, but I don't want the user to <strong>think</strong> he can print. If the print icon remains on the PDF viewer, the user clicks it and nothing happens, this will lead to frustration and irritation. By showing only the buttons that actually work, will lead to a better experience of using the application.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload