forked from BenjaminLawson/PDF.js-Viewer-Shortcode
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preventing Ctrl+P #15
Comments
Right now, I only hide the print button. Preventing people from printing would have to be supported by Mozilla's PDFjs library or I'd have to dig into it to better understand if this functionality is possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
First of all, I must say it is the best pdf embedder I have found on Wordpress.
However, I found one issue which I must draw your attention to. Whenever, a user is making the printing option false, it is most likely that they want to switch off the printing function completely. What I see is that only the printing button gets removed. One can still print the file using Ctrl+P or Right Click>Print. Is that what you can fix from here? Or, it is to be done from mozilla/pdf.js?
If it is doable from here, I would like to have that feature.
Best,
Pratyay
The text was updated successfully, but these errors were encountered: