How to disable right click in pdf file in browser?
i have tryed to disable with iframe and javascript but it is not working
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Dec 4, 2018, 3:18 PM EST
Sanwar RanwaRank #23 · 44.7K reputationPosted Dec 4, 2018, 5:40 PM EST
Krishhna RRank #2,389 · 593 reputationPosted Dec 5, 2018, 1:02 AM EST
Mohamed AbedallahRank #2,074 · 697 reputationPosted Dec 6, 2018, 2:18 AM EST
The code would be very simple as follows:
https://www.leadtools.com/help/leadtools/v20/dh/pdf/pdfsecurityoptions--members.html