-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (74 loc) · 2.67 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
<html>
<head>
<title>Femboy.wiki</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="manifest" href='data:application/manifest+json,{"display":"standalone"}' />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0" />
<link href="favicon.png" rel="shortcut icon">
<link href="favicon.png" rel="apple-touch-icon">
<link href="favicon.png" rel="apple-touch-icon-precomposed">
<link href="favicon.png" rel="icon" sizes="192x192">
<meta property="og:image" content="favicon.png">
<meta property="twitter:image:src" content="favicon.png">
<meta name="image" content="favicon.png">
<meta itemprop="image" content="favicon.png">
<meta name="og:image" content="favicon.png">
<meta name="description" content="The original and official FEMBOY.WIKI.">
<meta itemprop="name" content="The original and official FEMBOY.WIKI.">
<meta name="og:description" content="The original and official FEMBOY.WIKI.">
<meta name="og:title" content="Femboy.wiki">
<meta name="og:site_name" content="Femboy.wiki">
<meta name="og:type" content="website">
<meta name="og:url" content="https://Femboy.wiki">
<meta name="theme-color" content="#ffbf00">
<meta name="twitter:card" content="summary_large_image">
<style>
* {
margin: 0;
padding: 0;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
background-color: #000;
user-select: none;
}
</style>
</head>
<body onclick="javascript:document.getElementById('mframe').focus()">
<div id="mdiv" style="position:relative;">
<iframe id="mframe" src="game.html" width=100% height=100% frameborder=0></iframe>
</div>
<script>
function resize_event() {
var mdiv = document.getElementById('mdiv');
var winw = parseInt(document.body.clientWidth);
var winh = parseInt(document.body.clientHeight);
var max_winw = winh + (winh * 0.34);
if (winw > max_winw) {
mdiv.style.width = winh + (winh * 0.34);
mdiv.style.height = winw - (winw * 0.2520);
mdiv.style.top = 0;
if (winw > parseInt(mdiv.style.width))
mdiv.style.left = (winw - parseInt(mdiv.style.width)) / 2;
}
else if (winw < max_winw) {
mdiv.style.width = winh + (winh * 0.34);
mdiv.style.height = winw - (winw * 0.2520);
mdiv.style.left = 0;
if (winh > parseInt(mdiv.style.height))
mdiv.style.top = (winh - parseInt(mdiv.style.height)) / 2;
}
}
window.onload = function () {
resize_event();
window.addEventListener('resize', resize_event);
document.getElementById('mframe').focus();
}
</script>
</body>
</html>