nodebb-plugin-pdf-secure2 1.2.31 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library.js +1 -1
- package/package.json +1 -1
- package/static/viewer.html +5 -3
package/library.js
CHANGED
|
@@ -125,7 +125,7 @@ plugin.init = async (params) => {
|
|
|
125
125
|
'Expires': '0',
|
|
126
126
|
'Referrer-Policy': 'no-referrer',
|
|
127
127
|
'Permissions-Policy': 'accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()',
|
|
128
|
-
'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob
|
|
128
|
+
'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob: https://i.ibb.co; connect-src 'self'; frame-ancestors 'self'",
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
// Inject the filename, nonce, and key into the cached viewer
|
package/package.json
CHANGED
package/static/viewer.html
CHANGED
|
@@ -1604,11 +1604,13 @@
|
|
|
1604
1604
|
display: flex;
|
|
1605
1605
|
flex-direction: column;
|
|
1606
1606
|
align-items: center;
|
|
1607
|
-
justify-content:
|
|
1607
|
+
justify-content: flex-start;
|
|
1608
|
+
padding-top: clamp(30px, 8%, 80px);
|
|
1608
1609
|
background: linear-gradient(180deg, rgba(31,31,31,0.95) 0%, rgba(20,20,20,0.98) 100%);
|
|
1609
1610
|
z-index: 15;
|
|
1610
1611
|
text-align: center;
|
|
1611
|
-
padding: 20px;
|
|
1612
|
+
padding-left: 20px;
|
|
1613
|
+
padding-right: 20px;
|
|
1612
1614
|
box-sizing: border-box;
|
|
1613
1615
|
}
|
|
1614
1616
|
|
|
@@ -2834,7 +2836,7 @@
|
|
|
2834
2836
|
a.rel = 'noopener';
|
|
2835
2837
|
a.className = 'unicourse-page-wm';
|
|
2836
2838
|
a.style.setProperty('--wm-scale', scale);
|
|
2837
|
-
a.innerHTML = '<img src="https://
|
|
2839
|
+
a.innerHTML = '<img src="https://i.ibb.co/SbzdR8K/logo-unicorn.png" alt="unicourse">' +
|
|
2838
2840
|
'<div class="unicourse-page-wm-text">' +
|
|
2839
2841
|
'<span>Çıkmış sorular ve</span>' +
|
|
2840
2842
|
'<span>ders notları için tıkla</span>' +
|