-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (82 loc) · 2.37 KB
/
index.html
File metadata and controls
84 lines (82 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Help Viewer</title>
<meta name="application-name" content="Help Viewer">
<meta name="description" content="Help Viewer help file.">
<link rel="manifest" href="manifest.webmanifest">
<script src="hvdata/jszip.min.js"></script>
<script>
"use strict";
const DEBUG_MODE = false;
const global1stState = DEBUG_MODE? new Set(Object.getOwnPropertyNames(globalThis)) : new Set();
</script>
<script src="hvdata/appmain.js"></script>
<link rel="icon" type="image/png" href="favicon.png">
<meta property="og:title" content="Help Viewer">
<meta property="og:description" content="Help Viewer help file.">
<meta property="og:type" content="website">
<meta property="og:image" content="favicon.png">
<meta name="robots" content="index,follow">
<style id="i-formsupport-css">
.form-row {
display: flex;
gap: 1em;
align-items: baseline;
margin: 0.5em;
}
.form-row label {
width: 120px;
margin-right: 0.5em;
text-align: left;
}
.form-row input {
flex: 1;
}
</style>
<!-- %NREL% -->
<script>
if (window.location.protocol === 'file:') {
console.info('SW registration skipped ... local disk run.');
} else {
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js')
.catch(e => console.error('SW registration failed:', e));
}
}
</script>
</head>
<body class="inStandard">
<noscript>
<div id="js-error"> ⚠ JavaScript is turned off!</div>
</noscript>
<div id="cors-error">
<p> ⚠ Do you see this message only? Then viewer is not reading help file content.<br>This may be caused by your browser blocking local file access (file://) due to CORS policy restrictions. </p>
<p>You can select these files:</p>
<form id="form">
<div id="formIn">
</div>
</form>
<script>
formCorsHelpFilesUpload();
</script>
<p>Alternatively you need to run your browser in mode with bypass CORS policy:</p>
<ul>
<li><p>Chrome:</p>
<blockquote>
<p>Run in CLI:
chrome.exe --disable-site-isolation-trials --disable-web-security --user-data-dir="C:\temp"</p>
</blockquote>
</li>
<li><p>Edge:</p>
<blockquote>
<p>Run in CLI:
msedge --disable-web-security --user-data-dir="C:\temp"</p>
</blockquote>
</li>
</ul>
</div>
</body>
</html>