-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
157 lines (139 loc) · 6.92 KB
/
index.html
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!doctype html>
<html lang="zh-Hant-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Main head -->
<meta name="google-site-verification" content="hu_LHlM6wd1Oy4KvF1dtN_qRmFmUgMQ3jARg-MdiwGk"/>
<link href="res/assets/icon/icon_512.png" rel="apple-touch-icon" sizes="512x512">
<link href="res/assets/icon/icon_256.png" rel="apple-touch-icon" sizes="256x256">
<link href="res/assets/icon/icon_128.png" rel="apple-touch-icon" sizes="128x128">
<link href="res/assets/icon/icon_64.png" rel="apple-touch-icon" sizes="64x64">
<link href="res/assets/icon/icon_512.svg" type="image/svg+xml" rel="icon" sizes="512x512">
<link href="res/assets/icon/icon_256.svg" type="image/svg+xml" rel="icon" sizes="256x256">
<link href="res/assets/icon/icon_128.svg" type="image/svg+xml" rel="icon" sizes="128x128">
<link href="res/assets/icon/icon_64.svg" type="image/svg+xml" rel="icon" sizes="64x64">
<meta name="theme-color" content="#3253de"/>
<title>NCKU++ 成功大學課程資訊及選課系統</title>
<meta itemprop="name" content="NCKU++ 成功大學課程資訊及選課系統">
<meta property="og:title" content="NCKU++ 成功大學課程資訊及選課系統"/>
<meta name="twitter:title" content="NCKU++ 成功大學課程資訊及選課系統">
<meta property="og:site_name" content="NCKU++ 更優質的選課網站"/>
<meta property="og:locale" content="zh-TW"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://wavjaby.github.io/NCKUpp/"/>
<meta name="author" content="WavJaby"/>
<meta name="twitter:site" content="@WavJaby"/>
<meta itemprop="image" content="https://wavjaby.github.io/NCKUpp/res/assets/icon/logo.svg"/>
<meta property="og:image" content="https://wavjaby.github.io/NCKUpp/res/assets/icon/logo.svg"/>
<meta name="twitter:image" content="https://wavjaby.github.io/NCKUpp/res/assets/icon/logo.svg"/>
<meta name="description"
content="結合成大課程查詢系統、NCKU HUB以及Urschool,提供更方便好用的課程查詢介面。整合選課系統、課表、志願排序、成績查詢等功能,讓選課更輕鬆~"/>
<meta itemprop="description"
content="結合成大課程查詢系統、NCKU HUB以及Urschool,提供更方便好用的課程查詢介面。整合選課系統、課表、志願排序、成績查詢等功能,讓選課更輕鬆~"/>
<meta property="og:description"
content="結合成大課程查詢系統、NCKU HUB以及Urschool,提供更方便好用的課程查詢介面。整合選課系統、課表、志願排序、成績查詢等功能,讓選課更輕鬆~"/>
<meta name="twitter:description"
content="結合成大課程查詢系統、NCKU HUB以及Urschool,提供更方便好用的課程查詢介面。整合選課系統、課表、志願排序、成績查詢等功能,讓選課更輕鬆~"/>
<meta name="theme-color" content="#212121"/>
<meta name="twitter:card" content="summary_large_image"/>
<!--Console-->
<script>
var tempConsole = document.createElement('p');
tempConsole.style.whiteSpace = 'pre-wrap';
tempConsole.style.display = 'none';
document.head.appendChild(tempConsole);
// var consoleLog = console.log;
// console.log = function () {
// consoleLog.apply(console, arguments);
// var params = new Array(arguments.length);
// for (var i = 0; i < arguments.length; i++)
// params[i] = arguments[i];
//
// var logText = '\n[Log] ' + params.join(' ');
// tempConsole.textContent += logText;
// // remoteLog(logText);
// }
window.addEventListener('error', function (e) {
var errorText = [
e.message,
'URL: ' + e.filename,
'Line: ' + e.lineno + ', Column: ' + e.colno,
'Stack: ' + (e.error && e.error.stack || '(no stack trace)')
].join('\n');
errorText = '\n[Err] ' + errorText + '\n'
tempConsole.textContent += errorText;
remoteLog(errorText);
});
var apiEndPoint = window.location.hostname === 'localhost' || window.location.hostname.indexOf('192.168.') === 0
? 'https://' + window.location.hostname + '/api'
: 'https://api.simon.chummydns.com/api';
function remoteLog(text) {
var client = new XMLHttpRequest();
client.open('POST', apiEndPoint + '/clientDebugLog');
client.setRequestHeader('Content-Type', 'text/plain;charset=UTF-8');
if (window.navigator && window.navigator.userAgent)
text = window.navigator.userAgent + text;
client.send(text);
}
console.log('Temp console init done');
</script>
<!--Main resources-->
<link rel="manifest" href="web_manifest.json" crossorigin="use-credentials">
<link rel="modulepreload" href="res/minjs_v000/domHelper.min.js">
<link rel="modulepreload" href="res/lib/lib.js">
<link rel="modulepreload" href="res/lib/metaTag.js">
<link rel="modulepreload" href="./res/popupWindow.js">
<script type="module" src="res/minjs_v000/index.min.js"></script>
<link href="./res/loading.css" rel="stylesheet"/>
<link href="./res/static.css" rel="stylesheet"/>
<link href="./res/index.css" rel="stylesheet"/>
<link href="./res/selectMenu.css" rel="stylesheet"/>
<link href="./res/popupWindow.css" rel="stylesheet"/>
<link href="./res/messageBox.css" rel="stylesheet"/>
<link href="./res/stateBox.css" rel="stylesheet"/>
<link href="./res/userGuide.css" rel="stylesheet"/>
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HGNQ4WERFG"></script>
<script>
function enableGoogleAnalytics(debugMode) {
window.dataLayer = window.dataLayer || [];
gtag('js', new Date());
if (debugMode)
gtag('config', 'G-HGNQ4WERFG', {'debug_mode': true});
else
gtag('config', 'G-HGNQ4WERFG');
console.log('Enable Google Analytics, debug: ' + !!debugMode);
function gtag() {dataLayer.push(arguments);}
}
</script>
<!-- IE version checkPass -->
<!--[if lt IE 5]>
<script>window.ieVersion = 4;</script><![endif]-->
<!--[if IE 5]>
<script>window.ieVersion = 5;</script><![endif]-->
<!--[if IE 6]>
<script>window.ieVersion = 6;</script><![endif]-->
<!--[if IE 7]>
<script>window.ieVersion = 7;</script><![endif]-->
<!--[if IE 8]>
<script>window.ieVersion = 8;</script><![endif]-->
<!--[if IE 9]>
<script>window.ieVersion = 9;</script><![endif]-->
<!--[if !IE]> -->
<script>window.ieVersion = window.msCrypto ? 11 : (/*@cc_on!@*/0 ? 10 : null); </script><!-- <![endif]-->
<!--For old browser-->
<script src="res/lib/polyfill.js"></script>
<script nomodule src="res/lib/oldBrowser.js"></script>
</head>
<body>
<!--Loading-->
<svg class="loaderCircle" viewBox="0 0 50 50" style="display: block; margin: auto;">
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5" stroke-linecap="square"></circle>
</svg>
<noscript>請啟用JavaScript來使用NCKU++.<br>Please enable JavaScript to use NCKU++</noscript>
</body>
</html>