Skip to content
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

Open
PratyayG opened this issue Oct 4, 2021 · 1 comment
Open

Preventing Ctrl+P #15

PratyayG opened this issue Oct 4, 2021 · 1 comment

Comments

@PratyayG
Copy link

PratyayG commented Oct 4, 2021

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

@TwisterMc
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants