-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·15 lines (15 loc) · 1.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>kkzc</title>
<script>
(function(){var c;var b=window.document;function a(){var g=navigator.userAgent;var f=g.match(/iphone/i);var j=screen.width>0?window.innerWidth>=screen.width||window.innerWidth==0?screen.width:window.innerWidth:window.innerWidth,d,k;if(window.devicePixelRatio){d=window.devicePixelRatio}else{d=f?j>818?3:j>480?2:1:1}if(f){j=screen.width}k=j>1080?144:j/7.5;k=k>32?k:32;window.screenWidth_=j;if(/Android|webOS|iPhone|iPod|BlackBerry|NOKIA|Lumia|ipad/i.test(g)){b.getElementsByTagName("html")[0].dataset.dpr=d;b.getElementsByTagName("html")[0].style.fontSize=k+"px"}else{b.getElementsByTagName("html")[0].dataset.dpr="0";b.getElementsByTagName("html")[0].style.fontSize="100px"}}a();window.addEventListener("resize",function(){if(c){clearTimeout(c)}c=setTimeout(a,20)},false);window.addEventListener("pageshow",function(d){if(d.persisted){if(c){clearTimeout(c)}c=setTimeout(a,20)}},false)})();
</script>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>