From 535c7e6be7cb0bb9dfed0e51db9b69748f48baec Mon Sep 17 00:00:00 2001 From: alokhyland Date: Fri, 12 Jul 2024 13:38:56 +0530 Subject: [PATCH] WEBUI-1282: Allow Content Security Policy without script-src data:* --- ui/viewers/pdfjs/web/viewer.html | 733 +++++++++++++++++-------------- 1 file changed, 402 insertions(+), 331 deletions(-) diff --git a/ui/viewers/pdfjs/web/viewer.html b/ui/viewers/pdfjs/web/viewer.html index 49e1c3a1a8..e351d83cec 100644 --- a/ui/viewers/pdfjs/web/viewer.html +++ b/ui/viewers/pdfjs/web/viewer.html @@ -21,380 +21,451 @@ See https://github.com/adobe-type-tools/cmap-resources --> - - - - - PDF.js viewer + + + + + PDF.js viewer - + - - - + + + - - -
+ -
-
-
-
- - - - -
-
- -
- -
-
-
-
-
- - - -
-
-
- -
- +
+
+
+ + + +
+
+
+ +
+ -
- -
-
-
-
-
+ + + +
+
+
+
+ +
+ +
+ -
- -
- -
- -
- -
-
- + + +
+
+ - + - + - - - Current View - + + + Current View + -
+
- +
+
+
+ +
+
-
-
- -
- -
- - - -
+ + +
-
-
-
-
+
+
+
+
- -
-
+
+ +
+
+
+ +