pdfjs禁止复制、水印加深
This commit is contained in:
@@ -36,7 +36,15 @@ See https://github.com/adobe-type-tools/cmap-resources
|
||||
<script src="viewer.js"></script>
|
||||
</head>
|
||||
|
||||
<body tabindex="1">
|
||||
<body tabindex="1"
|
||||
leftmargin="0"
|
||||
οncοntextmenu="return false"
|
||||
οndragstart="return false"
|
||||
onselectstart="return false"
|
||||
οnselect="document.selection.empty()"
|
||||
οncοpy="document.selection.empty()"
|
||||
onbeforecopy="return false"
|
||||
οnmοuseup="document.selection.empty()">
|
||||
<div id="outerContainer">
|
||||
|
||||
<div id="sidebarContainer">
|
||||
|
||||
@@ -10639,7 +10639,7 @@ class PDFPageView {
|
||||
watermark_x_space: 40,//水印x轴间隔
|
||||
watermark_y_space: 50,//水印y轴间隔
|
||||
watermark_color: 'rgba(232,232,240)',//水印字体颜色
|
||||
watermark_alpha: 0.4,//水印透明度
|
||||
watermark_alpha: 0.6,//水印透明度
|
||||
watermark_fontsize: '40px',//水印字体大小
|
||||
watermark_font: '微软雅黑',//水印字体
|
||||
watermark_width: 120,//水印宽度
|
||||
|
||||
Reference in New Issue
Block a user