一个有趣的 404 页面~,点此查看演示。
源代码
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" /> <meta name="robots" content="none" /> <title>404 - Page Not Found</title> <style type="text/css"> * { margin: 0; padding: 0; } :-webkit-full-screen { background-color: #09c !important; } body { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; overflow: hidden; width: 100%; height: 100%; background-color: #09c; color: #fff; font-family: Microsoft Yahei, "Helvetica Neue", Helvetica, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .info { margin: 5% 8%; } .event, .more, .help { padding-left: 8px; } .face { font-size: 100px; } p { margin: 10px 0; padding: 8px 0; } .event { font-size: 24px; line-height: 40px; } .more { font-size: 16px; line-height: 20px; } .help { position: absolute; margin-top: 80px; width: 100%; height: 150px; font-size: 14px; } .qrcode { position: absolute; display: block; margin-top: 20px; width: 100px; height: 100px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAqFBMVEX///8AmcwCmswAmMsNns8Lnc4Pn88Gm82AzOYhptOu3++i2u1yxuQInM4ToNA6sNhmwuEapNHi9Ppdvt8nqdTA5vO04fCa1+vF6PRZvd4qqtWQ0unb8fgXotGT1Or5/P5txeICms4wrNb7/f/Y7/hEtNqL0ehRut285PKHz+jP7Pb0+/00rtfo9vu34vHw+f2o3e7r9/vJ6vVVu94+stl8y+V2yORLt9yHox80AAATP0lEQVR42u1di1bqOBQ1SdNQNYVeuCJgFVBQFN+o//9nk7MPTjINz6uzZpawF5PJPd1Ju004zeO0HOyxxx577LHHHnvsscfOolab4DOu1XrxB/YxCJfEfmQDjpxEdbVBvPCGX0sq/eUpFyiDSpefHZ81OpQSSkmkyPi08jkm+mtgMLicACca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VL/dejnARu23jNwxUhPyOlpkkp8oLKSIhO9IiP0bIJj9JoLz3O8JvDGSY5F4b0zJGUypF0LWYLk1pTOK4Zn5UI+hzSBYZTBbm8eIwMFGiRm0ITY5YMCY15vRrXsu3yPJHk5AOfIuEK6GDyqNJsISBZ5M7h1kceHZHuNz25d5fFgLEQuJnrLaJoAO8kO/0Wv1AyBCkSMh8I2rJU29ZLKS6zKSqQp7SXWqRmuuyg4FmIQMCdWJKCCxED4jDQmCfBzCTmYmfQu4daiZyRqiLhVjUJWD4RwAzzKGQe8IFC0GJdV0L8UXstRRBBB/uWpyvQQiyEg6knLMIPDeksE1tdEKwlOTIG7A0hBjlAUp6G4Q5+ULaodCmg67F9N6/3LXiByqXPQa+TZD/vY7fCrgbQiKvBSz3WqritZTyQh5KFrL2559iIZ1VAQNP6S61CAuxm85HXpnOXisQUkIIn/D61OGFAxFc5vQ0F8Bvl+e6GGpERMZ0/vckOj4nFpSM8m96k8WHYIZ43uo6tCh1/1Ha4xkicbieJugGQt5ANLCgRZ5nVIhndckhdOu0cPmM7Bo/pJKCIrkaxBcgYCApyJ6DLlNKQcwSxBeUyJ99ec6+/mcEIQTY5r3xEkc3X2ncDSGbrGutet/vRVkV0g6EfKiFPxD8O18sZKqida3daxEWYhtHT0fLPuGPaF8zvSpE5OA+QwgsskmGViiE80R8t6ICe7h47ddGD4ut+Vlzk6RYjc9d6n/HxLg0xdq5ma/Gdygr2WsxxtcOI01EOw+1Y1CNSZ2OvmF6ZFGLAJFPmtHBFj+4d+JX480H2Y9YCCzfvj/iu9baObuIH03adH/E3FUfqNwLwWUsFNJUi4Wk1R9SUdFqvGbzqj3EViQk37fIZj+kEgmJfv6JYQMhIgL/kErktSQL2eYRVyghTJCOkfaCdBwchet5RDa+6zzB/osdoS/TDnd3onpxwRcB8Qp5Fs84guXxYI899thjjz322GOPPXYafwEqqD2rQcZJeAAAAABJRU5ErkJggg==) no-repeat center center/cover; } .tips { position: absolute; position: absolute; left: 140px; display: block; line-height: 18px; } @media screen and (max-width:600px) { .info { margin: 30px; } .event { font-size: 18px; line-height: 30px; } .more { font-size: 14px; } .tips { font-size: 12px; } } </style> </head> <body onclick="launchFullScreen(document.documentElement)"> <div class="info"> <span class="face">:(</span><br><br> <p class="event"> 您的设备非常害怕,需要重新启动。 <br /> 我们也不确定有没有用。(完成 <span id="sec">0</span> %) </p> <p class="more"> 如果您想了解更多信息,代码也没啥鸟用: 404_PAGE_NOT_FOUND </p> <div class="help"> <div class="qrcode"></div> <div class="tips"> <p> 有关此问题的详细信息和可能的解决方法,请访问 <br /> https://www.lanseyujie.com/guestbook.html </p> <p>如果致电支持人员,请向他们提供以下信息:</p> <p> 终止代码: 404 </p> </div> </div> </div> <script type="text/javascript"> // 随机增加 function randinc(stage, min, max, begin = true, end = true) { var difference = max - min; var interval = Math.floor(difference / stage); console.log("interval: " + interval); var value = []; for (var i = 0; i < stage; i++) { if (begin && i === 0) { value[i] = min; } else if (end && (i+1 >= stage)) { value[i] = max; } else { value[i] = min + interval * i + Math.floor(Math.random() * interval); } console.log(value[i]); } return value; } // 全屏 function launchFullScreen(element) { if (element.requestFullscreen) { element.requestFullscreen() } else if (element.mozRequestFullScreen) { element.mozRequestFullScreen() } else if (element.webkitRequestFullscreen) { element.webkitRequestFullscreen() } else if (element.msRequestFullscreen) { element.msRequestFullscreen() } } // 倒计时跳转 window.onload = function() { var sec = 10; var last = sec; var intervalid; var value = randinc(sec + 1, 0, 100); intervalid = setInterval(function() { console.log("last: " + last); if (last === 0) { window.location.href = "https://www.lanseyujie.com"; clearInterval(intervalid); } document.getElementById("sec").innerHTML = value[sec-last]; last--; }, 1000); }; // 禁用右键 document.oncontextmenu = function() { return false; } </script> </body> </html>
本文标题:Windows 10 害怕高清重制
版权声明:本文使用「署名-非商业性使用-相同方式共享」创作共享协议,转载或使用请遵守署名协议。
相关文章
上一篇:加油,2018