We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a1695 commit ed30e24Copy full SHA for ed30e24
src/public.js
@@ -72,6 +72,12 @@ window.addEventListener('DOMContentLoaded', function() {
72
}
73
74
if (PDFViewerApplication) {
75
+ // Disable download function when downloads are hidden, as even if the
76
+ // buttons in the UI are hidden the download could still be triggered
77
+ // with Ctrl|Meta+S.
78
+ PDFViewerApplication.download = function() {
79
+ }
80
+
81
// Disable printing service when downloads are hidden, as even if the
82
// buttons in the UI are hidden the printing could still be triggered
83
// with Ctrl|Meta+P.
0 commit comments