-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
38 lines (37 loc) · 1.29 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<meta content="#000000" name="theme-color">
<script src="https://krm35.github.io/dofus-multi/qrcode.min.js"></script>
<title>Launcher Dofus</title>
<script type="module" crossorigin src="https://krm35.github.io/dofus-multi/assets/index-Bkwl4CzO.js"></script>
<link rel="stylesheet" crossorigin href="https://krm35.github.io/dofus-multi/assets/index-CpciVp40.css">
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script>
window.map = {};
window.map['qrCode'] = function (id, text, width, height) {
if (!document.getElementById(id)) {
setTimeout(window.map['qrCode'], 10, id, text, width, height);
return;
}
document.getElementById(id).innerHTML = "";
new QRCode(document.getElementById(id), {
text: text,
width: width || 150,
height: height || 150,
colorDark: "#000000",
colorLight: "#FFFFFF",
correctLevel: QRCode.CorrectLevel.H
});
};
</script>
<script src="https://krm35.github.io/dofus-multi/qrcode.min.js"></script>
</body>
</html>