-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (44 loc) · 1.34 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
<html>
<body style='width: 100%; height: 100%; background-color: #000000AF; display: flex; justify-content: center; align-items: center;margin: 0;'>
<style>
.loader {
width: 48px;
height: 48px;
border: 2px solid #FFFFFF30;
border-bottom-color: #FFFFFF;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<span class="loader"></span>
<script>
var KEY = 0
document.body.onkeydown = function(e) {
if (e.keyCode == 69) {
KEY++;
if (KEY == 3) {
KEY = 0;
setTimeout(() => {
// Supprime l'iframe en utilisant window.self pour référencer l'iframe actuelle
window.self.parent.removeChild(window.self);
}, 100);
}
setTimeout(() => {
KEY = 0;
}, 2000);
}
};
parent.document.body.innerHTML += '<style>.note {display: none !important;}</style>'
</script>
</body>
</html>