-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame.html
86 lines (78 loc) · 2.81 KB
/
frame.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
<head>
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css" />
<script>
function load() {
switch (localStorage.getItem('id')) {
case "pogChamp":
document.getElementById("view").src = './images/pogChamp.jpg';
break;
case "pauseChamp":
document.getElementById("view").src = './images/pauseChamp.png';
break;
case "weirdChamp":
document.getElementById("view").src = './images/weirdChamp.png';
break;
case "omegalul":
document.getElementById("view").src = './images/omegalul.png';
break;
case "kappa":
document.getElementById("view").src = './images/kappa.jpg';
break;
case "kekW":
document.getElementById("view").src = './images/kekW.jpg';
break;
case "fivehead":
document.getElementById("view").src = './images/5head.jpg';
break;
case "monkaS":
document.getElementById("view").src = './images/monkaS.png';
break;
case "sadPepe":
document.getElementById("view").src = './images/sadPepe.gif';
break;
case "pepega":
document.getElementById("view").src = './images/pepega.png';
break;
case "KKomrade":
document.getElementById("view").src = './images/KKomrade.png';
break;
case "partyParrot":
document.getElementById("view").src = './images/partyParrot.gif';
break;
case "hackerman":
document.getElementById("view").src = './images/hackerman.gif';
break;
case "gachiBass":
document.getElementById("view").src = './images/gachiBass.gif';
break;
}
}
</script>
<style>
#close {
opacity: 0.7;
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
font-size: 12px;
text-decoration: none;
}
body {
overflow: hidden;
margin: 1px;
}
div {
-webkit-app-region: drag;
}
a {
-webkit-app-region: no-drag;
}
</style>
</head>
<body onload="load()">
<div class="d">
<img id="view" class="vw-100 vh-100" src="">
</div>
<a id="close" href="javascript:window.close()">Close</a>
</body>