new old
7
old/css/font.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
@font-face {
|
||||
font-family:'EngraversOldEnglishBT-Bold';
|
||||
src: url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.gif?r=110901002758');
|
||||
src: url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.gif?r=110901002758?#iefix') format('embedded-opentype'), url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.png?r=110901002758') format('woff2'), url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.bmp?r=110901002758') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
80
old/css/iconfont.css
Normal file
|
@ -0,0 +1,80 @@
|
|||
@font-face {font-family: "iconfont";
|
||||
src: url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.eot?t=1597068283360'); /* IE9 */
|
||||
src: url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.eot?t=1597068283360#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAygAAsAAAAAFQgAAAxSAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFCgqaDJRUATYCJANECyQABCAFhG0HgUEbYRFRlFBWMtkX2DbsyRi24w5jw9hhxnUCAlAAAADABxRQQMEpHr7f739rH7nfTJMgXvFuFiLTIUHqj+ShUpJn/lr77RfzHZp+USCZJq2cvRVO2dvDMrRMSoQIoTE8bfPf3WHdTUElRIxqdENlsrI50M1eRLCA/W/B1tBmLMtYpK6PY9Ftmg/89wABgM3/fz9X/0OsiUV9mIZCjV+n92OubQlLhEZdSKpveNsa0UITa0TrkVR2SCjgNkZ16IWeTqDTrC2hq6fXdyip0BWBea85VVEyUaNURIf28qbAYRkPfQBm2tM7eBDw3nv8+Cci2klqpp/p5tMTA+3/9LKVdEiqIH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eSR7bQIgXJtqdI5J+UIaB+7CwopiZ+tcR+uPpvixf9pphhmtf0ZPo+YAng9yWAv6QqyuMK6o9Ukei1thRpk4VCxOBI1eNiDnuHhpIi/t4dsZWMK86hJO80dvGn1DHob9qKkRdyU2hP8CxO2szgrN0yKqHbuOpyjBvtLuBOW86cdxkiRETpwKYvAod+3zjp9R1n/X5QCf3F1ah/3OiPjDvdj4qHXVbjRfpIgCrBwNo75rrrELNepv35N0ADSxVxiZf8AMLn/XgyHKfHz8ABMYQV/4VOpSSYCNfGp8TZwLJc7An3CXQ5ZFJ6e6MRKbI61F0bpV0hAJV0shswzXtpTudykKOldObhbwAqYFGJim3l0g+A4OPqYxND4wboTOk02nYpS30vqClJNhHYWiu4bNgp2QQsY8SFecX6ngCdNMQ6DHn2jEhVpKlyOL1o33ul27ejTjgQKXKUqNFEW7RHR3RGV7yYvIve6Iv+0EBoECUfONSC7cCLezRdJGpxX6Y0zlr1k2Rwc+KUSxZoiVfgb9yZxJ7YKrfCz8+xD8ZZELMDn+vJO7CACtVOyFcuJYgkC1RNdXZ2Eo8czXKpnwke9Upik8PUe0QIAA==') format('woff2'),
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.woff?t=1597068283360') format('woff'),
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.ttf?t=1597068283360') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.svg?t=1597068283360#iconfont') format('svg'); /* iOS 4.1- */
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-angle-up:before {
|
||||
content: "\e9b3";
|
||||
}
|
||||
|
||||
.icon-ngleup:before {
|
||||
content: "\e624";
|
||||
}
|
||||
|
||||
.icon-list:before {
|
||||
content: "\e647";
|
||||
}
|
||||
|
||||
.icon-bilibili1:before {
|
||||
content: "\e609";
|
||||
}
|
||||
|
||||
.icon-bilibili:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
|
||||
.icon-github:before {
|
||||
content: "\e62f";
|
||||
}
|
||||
|
||||
.icon-weixin1:before {
|
||||
content: "\e608";
|
||||
}
|
||||
|
||||
.icon-email:before {
|
||||
content: "\e6f5";
|
||||
}
|
||||
|
||||
.icon-qq:before {
|
||||
content: "\e600";
|
||||
}
|
||||
|
||||
.icon-zhihu:before {
|
||||
content: "\e606";
|
||||
}
|
||||
|
||||
.icon-music:before {
|
||||
content: "\e6ba";
|
||||
}
|
||||
|
||||
.icon-Telegram:before {
|
||||
content: "\e6bd";
|
||||
}
|
||||
|
||||
.icon-twitter:before {
|
||||
content: "\e601";
|
||||
}
|
||||
|
||||
.icon-huaban88:before {
|
||||
content: "\e607";
|
||||
}
|
||||
|
||||
.icon-cnblogs:before {
|
||||
content: "\e603";
|
||||
}
|
||||
|
||||
.icon-u___fm__gp_:before {
|
||||
content: "\e602";
|
||||
}
|
10096
old/css/style.css
Normal file
BIN
old/favicon.ico
Normal file
After Width: | Height: | Size: 264 KiB |
BIN
old/images/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
old/images/logo.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
old/images/weixin.png
Normal file
After Width: | Height: | Size: 39 KiB |
202
old/index.html
Normal file
|
@ -0,0 +1,202 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!-- 基础信息 -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="force-rendering" content="webkit" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="無名の主页">
|
||||
<meta name="keywords" content="無名,个人主页">
|
||||
<meta name="author" content="無名">
|
||||
<title>無名の主页</title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/iconfont.css">
|
||||
<link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
|
||||
<link rel="icon" href="./favicon.ico">
|
||||
<!--引入SweetAlert
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script>
|
||||
<!--引入izitoast-->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/izitoast@1.4.0/dist/css/iziToast.min.css">
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/izitoast@1.4.0/dist/js/iziToast.min.js"></script>
|
||||
<!--引入fontawesome-->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/volantis-x/cdn-fontawesome-pro@master/css/all.min.css"
|
||||
media="all">
|
||||
<!--百度站长平台-->
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function () {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?14e9f35ff8bc67fd4bcb5f07a6e6655a";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
<!--IE淘汰计划-->
|
||||
<script>if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) window.location.href = "https://imsyy.top/upgrade-your-browser/index.html?referrer=" + encodeURIComponent(window.location.href);</script>
|
||||
</head>
|
||||
|
||||
<body oncontextmenu=self.event.returnValue=false onselectstart="return false">
|
||||
<!--<span class="mobile btn-mobile-menu">
|
||||
<i class="social iconfont icon-list btn-mobile-menu__icon"></i>
|
||||
<i class="social iconfont icon-ngleup btn-mobile-close__icon hidden"></i>
|
||||
</span>-->
|
||||
<header id="panel" class="panel-cover">
|
||||
<div class="panel-main">
|
||||
<div class="panel-main__inner panel-inverted">
|
||||
<div class="panel-main__content">
|
||||
<div class="ih-item circle effect right_to_left">
|
||||
<a class="blog-button">
|
||||
<div class="img"><img src="./images/logo.png" alt="img" class="js-avatar iUp profilepic">
|
||||
</div>
|
||||
<div class="info iUp">
|
||||
<div class="info-back">
|
||||
<h2>Fighting</h2>
|
||||
<p>2021 · 努力中</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<h1 class="panel-cover__title panel-title iUp">
|
||||
<br />hello
|
||||
</h1>
|
||||
<p class="panel-cover__subtitle panel-subtitle iUp">Welcome to my website</p>
|
||||
<hr class="panel-cover__divider iUp" />
|
||||
<!--一言无法显示时的文字-->
|
||||
<p id="description" class="panel-cover__description iUp">每一个人都应该明确自己的方向和位置
|
||||
<br />
|
||||
<strong>-「無名」</strong>
|
||||
</p>
|
||||
<div class="navigation-wrapper iUp">
|
||||
<div>
|
||||
<nav class="cover-navigation cover-navigation--primary">
|
||||
<ul class="navigation">
|
||||
<li class="navigation__item">
|
||||
<a href="https://blog.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>博客</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<!--<a onclick="update()" class="blog-button">-->
|
||||
<a href="https://share.imsyy.top" target="_blank" class="blog-button">
|
||||
<div>网盘</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://web.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>导航</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://music.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>音乐</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://lab.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>实验</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="iUp">
|
||||
<nav class="cover-navigation navigation--social">
|
||||
<ul class="navigation">
|
||||
|
||||
<li class="navigation__item">
|
||||
<a href="https://github.com/imsyy" title="Github" target="_blank">
|
||||
<i class="fas fa-code-branch"></i>
|
||||
<span class="label">Github</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://t.me/bottom_user" title="Telegram" target="_blank">
|
||||
<i class="fab fa-telegram-plane"></i>
|
||||
<span class="label">Telegram</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://twitter.com/woshisunyongyi" title="Twitter" target="_blank">
|
||||
<i class="fab fa-twitter"></i>
|
||||
<span class="label">Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="http://wpa.qq.com/msgrd?v=3&uin=1539250352&site=qq&menu=yes" title="QQ"
|
||||
target="_blank">
|
||||
<i class="fab fa-qq"></i>
|
||||
<span class="label">QQ</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a onclick="weixin()" title="微信" target="_blank">
|
||||
<i class="fab fa-weixin"></i>
|
||||
<script>
|
||||
function weixin() {
|
||||
Swal.fire({
|
||||
title: "请扫码",
|
||||
text: "请使用微信扫一扫",
|
||||
confirmButtonText: "好的",
|
||||
imageUrl: "./images/weixin.png",
|
||||
imageWidth: 150,
|
||||
imageHeight: 150
|
||||
})
|
||||
}
|
||||
</script>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="mailto:one@imsyy.top" title="Email">
|
||||
<i class="fas fa-envelope"></i>
|
||||
<span class="label">Email</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-cover--overlay cover-slate"></div>
|
||||
</div>
|
||||
<div class="remark iUp">
|
||||
<p class="power">Copyright © 2020
|
||||
<script>document.write(' - ' + (new Date()).getFullYear())</script> 無名 | <a
|
||||
href="https://beian.miit.gov.cn/" target="_blank">豫ICP备20013231-2 号</a>
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<!--izitoast弹窗设置-->
|
||||
<script>
|
||||
iziToast.settings({
|
||||
timeout: 4000,//调试
|
||||
icon: 'Fontawesome',
|
||||
closeOnEscape: 'true',
|
||||
position: 'topRight',
|
||||
transitionOut: 'fadeOutRight',
|
||||
displayMode: '2',
|
||||
layout: '2',
|
||||
transitionIn: 'bounceInLeft',
|
||||
});
|
||||
</script>
|
||||
<!--izitoast内容-->
|
||||
<script>
|
||||
function update() {
|
||||
iziToast.info({
|
||||
icon: 'fad fa-times-octagon',
|
||||
backgroundColor: '#efefef',
|
||||
title: '站点暂时关闭',
|
||||
message: '只是出现了一点小问题 ~'
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="./js/fetch.min.js"></script>
|
||||
<script type="text/javascript" src="./js/main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
1
old/js/fetch.min.js
vendored
Normal file
2
old/js/jquery.min.js
vendored
Normal file
106
old/js/main.js
Normal file
|
@ -0,0 +1,106 @@
|
|||
var iUp = (function () {
|
||||
var t = 0,
|
||||
d = 150,
|
||||
clean = function () {
|
||||
t = 0;
|
||||
},
|
||||
up = function (e) {
|
||||
setTimeout(function () {
|
||||
$(e).addClass("up")
|
||||
}, t);
|
||||
t += d;
|
||||
},
|
||||
down = function (e) {
|
||||
$(e).removeClass("up");
|
||||
},
|
||||
toggle = function (e) {
|
||||
setTimeout(function () {
|
||||
$(e).toggleClass("up")
|
||||
}, t);
|
||||
t += d;
|
||||
};
|
||||
return {
|
||||
clean: clean,
|
||||
up: up,
|
||||
down: down,
|
||||
toggle: toggle
|
||||
}
|
||||
})();
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
// 获取一言数据
|
||||
fetch('https://v1.hitokoto.cn').then(function (res) {
|
||||
return res.json();
|
||||
}).then(function (e) {
|
||||
$('#description').html(e.hitokoto + "<br/> -「<strong>" + e.from + "</strong>」")
|
||||
}).catch(function (err) {
|
||||
console.error(err);
|
||||
})
|
||||
|
||||
|
||||
// var url = 'https://query.yahooapis.com/v1/public/yql' +
|
||||
// '?q=' + encodeURIComponent('select * from json where url=@url') +
|
||||
// '&url=' + encodeURIComponent('https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8') +
|
||||
// '&format=json&callback=?';
|
||||
|
||||
/**
|
||||
* 获取Bing壁纸
|
||||
* 原先 YQL 已经无法提供服务了
|
||||
* 改用 JsonBird:https://bird.ioliu.cn/
|
||||
*
|
||||
*/
|
||||
var url = 'https://bird.ioliu.cn/v1/?url=https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8';
|
||||
var imgUrls = JSON.parse(sessionStorage.getItem("imgUrls"));
|
||||
var index = sessionStorage.getItem("index");
|
||||
var $panel = $('#panel');
|
||||
if (imgUrls == null) {
|
||||
imgUrls = new Array();
|
||||
index = 0;
|
||||
$.get(url, function (result) {
|
||||
images = result.images;
|
||||
for (let i = 0; i < images.length; i++) {
|
||||
const item = images[i];
|
||||
imgUrls.push(item.url);
|
||||
}
|
||||
var imgUrl = imgUrls[index];
|
||||
var url = "https://www.bing.com" + imgUrl;
|
||||
$panel.css("background", "url('" + url + "') center center no-repeat #666");
|
||||
$panel.css("background-size", "cover");
|
||||
sessionStorage.setItem("imgUrls", JSON.stringify(imgUrls));
|
||||
sessionStorage.setItem("index", index);
|
||||
});
|
||||
} else {
|
||||
if (index == 7)
|
||||
index = 0;
|
||||
else
|
||||
index++;
|
||||
var imgUrl = imgUrls[index];
|
||||
var url = "https://www.bing.com" + imgUrl;
|
||||
$panel.css("background", "url('" + url + "') center center no-repeat #666");
|
||||
$panel.css("background-size", "cover");
|
||||
sessionStorage.setItem("index", index);
|
||||
}
|
||||
|
||||
$(".iUp").each(function (i, e) {
|
||||
iUp.up(e);
|
||||
});
|
||||
|
||||
$(".js-avatar")[0].onload = function () {
|
||||
$(".js-avatar").addClass("show");
|
||||
}
|
||||
});
|
||||
|
||||
$('.btn-mobile-menu__icon').click(function () {
|
||||
if ($('.navigation-wrapper').css('display') == "block") {
|
||||
$('.navigation-wrapper').on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
|
||||
$('.navigation-wrapper').toggleClass('visible animated bounceOutUp');
|
||||
$('.navigation-wrapper').off('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend');
|
||||
});
|
||||
$('.navigation-wrapper').toggleClass('animated bounceInDown animated bounceOutUp');
|
||||
|
||||
} else {
|
||||
$('.navigation-wrapper').toggleClass('visible animated bounceInDown');
|
||||
}
|
||||
$('.btn-mobile-menu__icon').toggleClass('social iconfont icon-list social iconfont icon-ngleup animated fadeIn');
|
||||
});
|
58
old/upgrade-your-browser/css/support.style.css
Normal file
|
@ -0,0 +1,58 @@
|
|||
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
|
||||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
|
||||
*, ::after, ::before {box-sizing: border-box;}
|
||||
|
||||
a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;}
|
||||
body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei, '宋体', sans-serif;color:#454545;overflow-y:scroll;_overflow-y:auto;*overflow-y:auto}
|
||||
.page{width:960px;margin:0 auto;padding:10px;text-align:left;}
|
||||
h2,h3{font-family:Microsoft YaHei}
|
||||
h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px;}
|
||||
h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;}
|
||||
h3{font-weight:bold}
|
||||
|
||||
code{padding: 2px 4px;font-size: 95%;color: #c7254e;background-color: #f9f2f4;border-radius: 4px;}
|
||||
pre code{white-space: pre-wrap;word-break:break-word;display:inline-block;word-break:break-all;}
|
||||
ul{padding:0 1em;}
|
||||
ul li{list-style-type:disc;list-style-position:inside;}
|
||||
|
||||
b,strong{font-weight:bold}
|
||||
em{color:red}
|
||||
|
||||
p{margin-bottom:10px}
|
||||
hr, .hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc}
|
||||
|
||||
.text-right{text-align:right}
|
||||
.clearboth{clear:both;width:100%;content: "";}
|
||||
.clearleft{clear:left;width:100%;content: "";}
|
||||
.clearright{clear:right;width:100%;content: "";}
|
||||
|
||||
.browser-list{margin:16px 0 10px;padding:0;height:42px;_overflow:hidden}
|
||||
.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none;}
|
||||
.browser.clearleft{height:1px}
|
||||
.browser span{display:block;font-size:12px;line-height:1.2;}
|
||||
.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px;}
|
||||
.browser.firefox{width:150px}
|
||||
.browser.edge{width:150px}
|
||||
.browser.safari{width:150px}
|
||||
.browser.se360{width:160px}
|
||||
.browser.qqbrowser{width:140px}
|
||||
.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c}
|
||||
.small-alert:not(.hide)+hr{margin-top:0}
|
||||
.hide{display:none}
|
||||
.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;_padding:8px 12px 6px;clear:both;}
|
||||
.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px}
|
||||
.alert-info img{vertical-align:text-top;}
|
||||
#win-danger{margin-top:12px;position: relative;}
|
||||
#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px}
|
||||
|
||||
.targetline, #referrer a{word-break:break-all;}
|
||||
.top-alert {background:#f2f2f2;}
|
||||
.top-alert-content {font-size:14px;}
|
||||
|
||||
@media only screen and (max-width: 959px) {
|
||||
.page {max-width:100%;padding:20px;font-size:16px;line-height:26px;}
|
||||
h1 {font-size:26px;line-height:1.8;font-weight:bold;margin-top:0}
|
||||
.browser-list {height:auto}
|
||||
.browser {margin:0 20px 20px 0}
|
||||
code {word-break: break-word;}
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
|
||||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
|
||||
*, ::after, ::before {box-sizing: border-box;}
|
||||
|
||||
a{text-decoration:none;color:#0072c6;}a:hover{text-decoration:none;color:#004d8c;}
|
||||
body{text-align:center;font-size:14px;line-height:24px;font-family:Microsoft YaHei, '宋体', sans-serif;color:#454545;overflow-y:scroll;_overflow-y:auto;*overflow-y:auto}
|
||||
.page{width:960px;margin:0 auto;padding:10px;text-align:left;}
|
||||
h2,h3{font-family:Microsoft YaHei}
|
||||
h1{font-size:40px;line-height:60px;font-weight:100;margin:20px 0 15px;}
|
||||
h2{font-size:20px;line-height:25px;font-weight:100;margin:10px 0;}
|
||||
h3{font-weight:bold}
|
||||
|
||||
code{padding: 2px 4px;font-size: 95%;color: #c7254e;background-color: #f9f2f4;border-radius: 4px;}
|
||||
pre code{white-space: pre-wrap;word-break:break-word;display:inline-block;word-break:break-all;}
|
||||
ul{padding:0 1em;}
|
||||
ul li{list-style-type:disc;list-style-position:inside;}
|
||||
|
||||
b,strong{font-weight:bold}
|
||||
em{color:red}
|
||||
|
||||
p{margin-bottom:10px}
|
||||
hr, .hr{margin:20px 0;border:0;width:100%;height:1px;overflow:hidden;background-color:#ccc}
|
||||
|
||||
.text-right{text-align:right}
|
||||
.clearboth{clear:both;width:100%;content: "";}
|
||||
.clearleft{clear:left;width:100%;content: "";}
|
||||
.clearright{clear:right;width:100%;content: "";}
|
||||
|
||||
.browser-list{margin:16px 0 10px;padding:0;height:42px;_overflow:hidden}
|
||||
.browser{display:block;width:155px;height:34px;line-height:22px;float:left;list-style:none;}
|
||||
.browser.clearleft{height:1px}
|
||||
.browser span{display:block;font-size:12px;line-height:1.2;}
|
||||
.browser img{width:34px;height:34px;border:0;float:left;margin-right:10px;}
|
||||
.browser.firefox{width:150px}
|
||||
.browser.edge{width:150px}
|
||||
.browser.safari{width:150px}
|
||||
.browser.se360{width:160px}
|
||||
.browser.qqbrowser{width:140px}
|
||||
.small-alert{font-size:12px;margin:15px 0 8px;color:#90949c}
|
||||
.small-alert:not(.hide)+hr{margin-top:0}
|
||||
.hide{display:none}
|
||||
.alert-danger{display:block;color:#777;background-color:#f1f1f1;padding:6px 12px;_padding:8px 12px 6px;clear:both;}
|
||||
.alert-info{color:#000;background-color:#f1f6fc;margin-top:12px}
|
||||
.alert-info img{vertical-align:text-top;}
|
||||
#win-danger{margin-top:12px;position: relative;}
|
||||
#win-danger .arrow{background:url(/images/arrow.png) no-repeat;border:0;position:absolute;display:block;width:20px;height:12px;left:325px;top:-12px}
|
||||
|
||||
.targetline, #referrer a{word-break:break-all;}
|
||||
.top-alert {background:#f2f2f2;}
|
||||
.top-alert-content {font-size:14px;}
|
||||
|
||||
@media only screen and (max-width: 959px) {
|
||||
.page {max-width:100%;padding:20px;font-size:16px;line-height:26px;}
|
||||
h1 {font-size:26px;line-height:1.8;font-weight:bold;margin-top:0}
|
||||
.browser-list {height:auto}
|
||||
.browser {margin:0 20px 20px 0}
|
||||
code {word-break: break-word;}
|
||||
}
|
62
old/upgrade-your-browser/end-of-ie-support/index.html
Normal file
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="force-rendering" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
|
||||
<meta name="robots" content="noindex,nofollow,noarchive" />
|
||||
<title>对旧版 Internet Explorer 的支持服务已终止</title>
|
||||
<meta name="description"
|
||||
content="从 2016 年 1 月 12 日开始,仅面向受支持操作系统的最新版 Internet Explorer 将收到技术支持和安全更新。Internet Explorer 11 是最新版的 Internet Explorer,将继续在 Windows 7、Windows 8.1 和 Windows 10 上收到安全更新、兼容性修复程序和技术支持。" />
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
||||
<meta http-equiv="Cache-Control" content="no-transform" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<base href="./" target="_blank" />
|
||||
<script src="./js/er3eport.js"></script>
|
||||
<link rel="icon" type="image/png" href="../favicon.ico" />
|
||||
<link type="text/css" rel="stylesheet" href="./css/support.style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="top-alert">
|
||||
<div class="page">
|
||||
<div class="top-alert-content">本页是 IE 旧版支持服务终止页面的文字副本,因微软官方网页无法在旧版IE中正常访问,故提供此备份以供旧版IE用户浏览。<a
|
||||
href="https://www.microsoft.com/zh-cn/WindowsForBusiness/End-of-IE-support" target="_blank"
|
||||
rel="nofollow">查看原网页</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page">
|
||||
<h1>对旧版 Internet Explorer 的支持服务已终止</h1>
|
||||
<p>从 2016 年 1 月 12 日开始,仅面向受支持操作系统的最新版 Internet Explorer 将收到技术支持和安全更新。Internet Explorer 11 是最新版的 Internet
|
||||
Explorer,将继续在 Windows 7、Windows 8.1 和 Windows 10 上收到安全更新、兼容性修复程序和技术支持。</p>
|
||||
<div class="hr"></div>
|
||||
<h2>这意味着什么?</h2>
|
||||
<p>这意味着您应该采取行动。2016 年 1 月 12 日之后,Microsoft 将不再为 Internet Explorer
|
||||
早期版本提供安全更新或技术支持。安全更新用于修补可能被恶意软件利用的漏洞,从而为提高用户及其数据的安全性提供帮助。定期安全更新帮助保护计算机不受恶意攻击,因此升级和保持最新很重要。</p>
|
||||
<div class="hr"></div>
|
||||
<h2>我如何升级 Internet Explorer?</h2>
|
||||
<p><strong>中小型企业:</strong>对于考虑浏览器升级的中小型企业,选择有很多。没有 Web 应用程序的中小型组织(员工在 500 人以下)可使用自动更新进行自动更新。对于依赖现有 Web
|
||||
应用程序的中小型企业,可以寻找 Microsoft 认证合作伙伴以了解符合其业务需要的最佳方案。</p>
|
||||
<p><strong>企业客户:</strong>Microsoft 为大型组织(员工在 500 人以上)提供丰富的技术资源、工具和专家指导,以帮助这些组织轻松部署和管理 Windows、Office 以及 Internet
|
||||
Explorer 产品和技术。通过联系您的 Microsoft 销售代表、Microsoft Services 部门或 Microsoft 认证合作伙伴,详细了解迁移和部署计划。了解如何通过访问 TechNet
|
||||
自行试用和部署最新版本的 Edge。</p>
|
||||
<div class="hr"></div>
|
||||
<h2>使用 Internet Explorer 早期版本的潜在风险</h2>
|
||||
<p>2016 年 1 月 12 日后运行 Internet Explorer 早期版本可能使您面临潜在风险,例如:</p>
|
||||
<p><strong>安全性:</strong>没有关键的浏览器安全更新,您的 PC 可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。</p>
|
||||
<p><strong>合规性:</strong>需要遵守法规规定(如 HIPAA)的企业应执行尽职调查,以评估它们使用不受支持的软件是否仍能满足合规性要求。</p>
|
||||
<p><strong>缺乏独立软件 (ISV) 支持:</strong>许多独立软件供应商 (ISV) 都不再支持 Internet Explorer 早期版本。例如,Office 365 采用现代 Web
|
||||
标准,而且与最新浏览器一起使用时运行最出色。</p>
|
||||
<div class="hr"></div>
|
||||
<p>Copyright © 2020 <script>document.write(' - ' + (new Date()).getFullYear())</script> <a href="https://imsyy.top/">無名</a> . All Rights Reserved</p>
|
||||
</div>
|
||||
|
||||
<div style="display:none !important">
|
||||
<script id="hello-world-js" src="./js/hello.world.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
60
old/upgrade-your-browser/end-of-ie-support/js/er3eport.js
Normal file
|
@ -0,0 +1,60 @@
|
|||
// simple error report by baidu tongji
|
||||
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
var er3eport = {};
|
||||
er3eport.start = (new Date().getTime());
|
||||
er3eport.codetime = function () {
|
||||
return (new Date().getTime()) - er3eport.start;
|
||||
};
|
||||
er3eport.dodnt = function () {
|
||||
window.dnt = 1; if (typeof window.dodnt === 'function') window.dodnt();
|
||||
};
|
||||
er3eport.jqdefined = function () {
|
||||
_hmt.push(['_setCustomVar', 2, 'JSERROR', 'jQueryDefined' + ' # ' + er3eport.codetime(), 3]);
|
||||
er3eport.dodnt();
|
||||
};
|
||||
er3eport.listener = function (msg) {
|
||||
|
||||
var logstr = false;
|
||||
var errtype = 'JSERROR';
|
||||
if (typeof msg === 'string') {
|
||||
logstr = msg;
|
||||
|
||||
} else {
|
||||
if (msg.error) logstr = msg.error.stack;
|
||||
else if (msg.message) logstr = msg.message;
|
||||
|
||||
var src;
|
||||
if (msg.srcElement && msg.srcElement.src) src = msg.srcElement.src;
|
||||
else if (msg.target && msg.target.src) src = msg.target.src;
|
||||
|
||||
if (! logstr) {
|
||||
if (src) {
|
||||
logstr = 'FileError: ' + src;
|
||||
errtype = 'FILEERROR';
|
||||
} else if (msg.type) {
|
||||
logstr = msg.type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof logstr !== 'string') {
|
||||
logstr = 'empty_error_string'
|
||||
} else {
|
||||
logstr = logstr.replace(/\n/g, '').replace(/\s+/g, ' ');
|
||||
}
|
||||
|
||||
_hmt.push(['_trackEvent', errtype, window.location.pathname, logstr + ' #UA# ' + navigator.userAgent + ' # ' + er3eport.codetime()]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
if (typeof jQuery === 'function') er3eport.jqdefined();
|
||||
if (Object.defineProperty) Object.defineProperty(window, 'jQuery', {set: er3eport.jqdefined});
|
||||
|
||||
if (window.addEventListener) {
|
||||
window.addEventListener('error', er3eport.listener, true);
|
||||
} else if (window.attachEvent) {
|
||||
window.attachEvent('onerror', er3eport.listener);
|
||||
}
|
83
old/upgrade-your-browser/end-of-ie-support/js/hello.world.js
Normal file
|
@ -0,0 +1,83 @@
|
|||
setTimeout(function() {
|
||||
|
||||
var realPathname = window.location.pathname;
|
||||
// ie 兼容
|
||||
if (realPathname.indexOf('/') !== 0) {
|
||||
realPathname = '/' + realPathname;
|
||||
}
|
||||
var isUPPage = realPathname === '/upgrade-your-browser.html';
|
||||
var isSpHost = window.location.hostname === 'support.dmeng.net';
|
||||
window.dodnt = function() {
|
||||
var now = new Date(); var time = now.getTime(); time += 600 * 1000; now.setTime(time);
|
||||
document.cookie = 'dnt=1' + '; expires=' + now.toUTCString() + '; path=/';
|
||||
}; var doTrack = typeof window.dnt === 'undefined';
|
||||
if (doTrack === false && document.cookie.match(/dnt=1/) === null) window.dodnt();
|
||||
|
||||
window._hmt = window._hmt || [];
|
||||
var _hmt_id = '6ddc2cf73e10ed480880c454b957e809';
|
||||
if (isSpHost) {
|
||||
|
||||
if (doTrack) {
|
||||
|
||||
_hmt_id = '3546503052812606f053b8bb63ef0e99';
|
||||
|
||||
// 统计需要升级的IE版本
|
||||
if (isUPPage) {
|
||||
|
||||
var iever = "none";
|
||||
|
||||
var _jsver = 0;
|
||||
/*@cc_on
|
||||
_jsver = @_jscript_version;
|
||||
@*/
|
||||
if (_jsver === 0) {
|
||||
// IE11 或者不是 IE
|
||||
|
||||
if (!!window.MSInputMethodContext && !!document.documentMode) {
|
||||
iever = 11;
|
||||
}
|
||||
} else {
|
||||
var docmode = document.documentMode;
|
||||
if (!! docmode && docmode > 5) {
|
||||
iever = docmode;
|
||||
} else if (_jsver === 5.7 && window.XMLHttpRequest) {
|
||||
iever = 7;
|
||||
} else if (_jsver === 5.6 || (_jsver === 5.7 && !window.XMLHttpRequest)) {
|
||||
iever = 6;
|
||||
} else {
|
||||
iever = 5;
|
||||
}
|
||||
iever += "";
|
||||
}
|
||||
|
||||
var winver = 'other';
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (ua.indexOf("Windows NT 5") !== -1) {
|
||||
winver = 'winXP';
|
||||
} else if (ua.indexOf("Windows NT 6.1") !== -1) {
|
||||
winver = 'win7';
|
||||
} else if (ua.indexOf("Windows NT 6.2") !== -1) {
|
||||
winver = 'win8';
|
||||
} else if (ua.indexOf("Windows NT 6.3") !== -1) {
|
||||
winver = 'win8.1';
|
||||
} else if (ua.indexOf("Windows NT 10") !== -1) {
|
||||
winver = 'win10';
|
||||
}
|
||||
|
||||
_hmt.push(['_setCustomVar', 1, 'ClientVer', winver + "_IE" + iever, 3]);
|
||||
}
|
||||
|
||||
} else {
|
||||
_hmt_id = 'b5afc37c04e670dc17f68727f92ea21c';
|
||||
}
|
||||
}
|
||||
|
||||
_hmt.unshift(['_setAccount', _hmt_id]);
|
||||
|
||||
var helloWorldJS = document.getElementById('hello-world-js');
|
||||
var hm = document.createElement('script');
|
||||
hm.src = '//hm.baidu.com/hm.js?' + _hmt_id;
|
||||
helloWorldJS.parentNode.insertBefore(hm, helloWorldJS);
|
||||
|
||||
}, 1500);
|
BIN
old/upgrade-your-browser/favicon.ico
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
old/upgrade-your-browser/images/chrome.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
old/upgrade-your-browser/images/edge.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
old/upgrade-your-browser/images/firefox.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
old/upgrade-your-browser/images/qqbrowser.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
old/upgrade-your-browser/images/safari.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
old/upgrade-your-browser/images/se360.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
97
old/upgrade-your-browser/index.html
Normal file
|
@ -0,0 +1,97 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="force-rendering" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>请升级您的浏览器</title>
|
||||
<meta name="description" content="这是一个旧版IE升级提示页" />
|
||||
<script src="./js/er3eport.js"></script>
|
||||
<link rel="icon" type="image/png" href="./favicon.ico" />
|
||||
<base href="./" target="_blank">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
||||
<meta http-equiv="Cache-Control" content="no-transform" />
|
||||
<link type="text/css" rel="stylesheet" href="./css/support.style.css" />
|
||||
<script>
|
||||
var l = window.location, s = l.search.substr(1),
|
||||
r = '', dr = document.referrer, r1 = s.match(/(^|&)referrer=((http|https)[^&]*)/), r2 = s.match(/^referrer=((http|https)\:\/\/.*)$/);
|
||||
if (r2 !== null) r = r2[1]; else if (r1 !== null) r = r1[2];
|
||||
if (r === '' && dr !== '' && dr.match(/\/(?:.*\.dmeng\.net|(?:(?:(?:www|m|wap|cn|search)\.)?(?:google|baidu|sogou|bing|so|yahoo|yandex|duckduckgo)\.com(?:\.[a-z]+)?))/) === null) {
|
||||
l.href = l.protocol + '//' + l.hostname + l.pathname + '?referrer=' + encodeURIComponent(dr) + '&' + s;
|
||||
}
|
||||
var url = decodeURIComponent(r);
|
||||
if (url.indexOf(window.location.hostname + '/') != -1) url = '';
|
||||
var targetUrlHTML = '';
|
||||
if (url !== '') {
|
||||
var m = url.match(/^(https?\:\/\/[^/]+\/)index\.html$/);
|
||||
targetUrlHTML = ' <a href="' + url + '" onclick="alert(\'点击右键“复制快捷方式”(复制链接)到更先进的浏览器访问。\');return false;" rel="noreferrer">' + (m ? m[1] : url) + '</a> ';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="page">
|
||||
<h1>是时候升级你的浏览器了</h1>
|
||||
<p>你正在使用旧版 Internet Explorer( IE11 及以下版本或使用该内核的浏览器 )。这意味着在升级浏览器前,你将无法访问此网站。</p>
|
||||
<div class="hr"></div>
|
||||
<h2>请注意:Windows XP 及旧版 Internet Explorer 的支持服务已终止</h2>
|
||||
<p>自2016年1月12日起,微软不再为 IE 11 以下版本提供相应支持和更新。没有关键的浏览器安全更新,您的电脑可能易受有害病毒、间谍软件和其他恶意软件的攻击,它们可以窃取或损害您的业务数据和信息。请参阅 <a
|
||||
href="./end-of-ie-support/index.html">微软对旧版 Internet Explorer 的支持服务已终止的说明</a> 。</p>
|
||||
<div class="hr"></div>
|
||||
<h2>更先进的浏览器</h2>
|
||||
<p class="targetline">推荐使用以下浏览器的最新版本。如果你的电脑已有以下浏览器的最新版本则直接使用该浏览器或开启极速模式访问即可。</p>
|
||||
<!-- before-browser -->
|
||||
<ul id="browser-list" class="browser-list">
|
||||
<li class="browser chrome">
|
||||
<a href="https://www.google.cn/chrome/thank-you.html?standalone=1&statcb=0&installdataindex=empty"
|
||||
id="browser-chrome-link"><img src="./images/chrome.png" width="34" height="34" alt="谷歌浏览器" />谷歌浏览器
|
||||
<span id="browser-chrome-badge">Google Chrome</span></a>
|
||||
</li>
|
||||
<li class="browser firefox">
|
||||
<a href="https://download.mozilla.org/?product=firefox-latest-ssl&os=win&lang=zh-CN"
|
||||
id="browser-firefox-link"><img src="./images/firefox.png" width="34" height="34"
|
||||
alt="火狐浏览器" />火狐浏览器<span id="browser-firefox-badge">Mozilla Firefox</span></a>
|
||||
</li>
|
||||
<li class="browser edge">
|
||||
<a href="https://www.microsoft.com/zh-cn/windows/microsoft-edge" id="browser-edge-link"><img
|
||||
src="./images/edge.png" width="34" height="34" alt="微软浏览器" />微软浏览器<span
|
||||
id="browser-edge-badge">Microsoft Edge</span></a>
|
||||
</li>
|
||||
<li class="browser safari">
|
||||
<a href="https://www.apple.com.cn/safari/" id="browser-safari-link"><img
|
||||
src="./images/safari.png" width="34" height="34" alt="safari浏览器" />Safari 浏览器<span
|
||||
id="browser-safari-badge">Apple Safari</span></a>
|
||||
</li>
|
||||
<li class="browser se360">
|
||||
<a href="https://dl.360safe.com/netunion/20140425/360se%2b75526%2bn1abed0ce91.exe"
|
||||
id="browser-se360-link"><img src="./images/se360.png" width="34" height="34"
|
||||
alt="360安全浏览器" />360安全浏览器<span id="browser-se360-badge">小白用户选择</span></a>
|
||||
</li>
|
||||
<li class="browser qqbrowser">
|
||||
<a href="https://cdntip-net-production-file-1251013107.file.myqcloud.com/myapp/rcps/d/85000/QQBrowser_subid@100002_urlid@100002.exe"
|
||||
id="browser-qqbrowser-link"><img src="./images/qqbrowser.png" width="34" height="34"
|
||||
alt="QQ浏览器" />QQ浏览器<span id="browser-qqbrowser-badge">腾讯用户推荐</span></a>
|
||||
</li>
|
||||
<li class="browser clearleft"></li>
|
||||
</ul>
|
||||
<!-- after-browser -->
|
||||
<div class="hr"></div>
|
||||
<h2>为什么会出现这个页面?</h2>
|
||||
<p>如果你不知道升级浏览器是什么意思,请请教一些熟练电脑操作的朋友。如果你使用的不是 IE6 / 7 / 8 / 9 / 10,而是 Google Chrome、Safari、Microsoft Edge、火狐浏览器等,出现这个页面可能是因为你使用的不是该浏览器的最新版本,升级至最新即可。
|
||||
</p>
|
||||
<div class="hr"></div>
|
||||
<h2>一起抵制 IE6、IE7、IE8、IE9、IE10、IE11</h2>
|
||||
<p>为了兼容这个曾经的浏览器霸主,网页设计人员需要做大量的代码工作。对于普通用户而言,低版本 IE 更是一个岌岌可危的安全隐患,在 Windows 历史上几次大的木马病毒事件都是利用 IE 漏洞进行传播。所以,请和我们一起抵制 IE 的过期版本!
|
||||
</p>
|
||||
<div class="hr"></div>
|
||||
<p>Copyright © 2020 <script>document.write(' - ' + (new Date()).getFullYear())</script> <a href="https://imsyy.top/">無名</a> . All Rights Reserved</p>
|
||||
</div>
|
||||
<div style="display:none !important">
|
||||
<script id="hello-world-js" src="./js/hello.world.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
60
old/upgrade-your-browser/js/er3eport.js
Normal file
|
@ -0,0 +1,60 @@
|
|||
// simple error report by baidu tongji
|
||||
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
var er3eport = {};
|
||||
er3eport.start = (new Date().getTime());
|
||||
er3eport.codetime = function () {
|
||||
return (new Date().getTime()) - er3eport.start;
|
||||
};
|
||||
er3eport.dodnt = function () {
|
||||
window.dnt = 1; if (typeof window.dodnt === 'function') window.dodnt();
|
||||
};
|
||||
er3eport.jqdefined = function () {
|
||||
_hmt.push(['_setCustomVar', 2, 'JSERROR', 'jQueryDefined' + ' # ' + er3eport.codetime(), 3]);
|
||||
er3eport.dodnt();
|
||||
};
|
||||
er3eport.listener = function (msg) {
|
||||
|
||||
var logstr = false;
|
||||
var errtype = 'JSERROR';
|
||||
if (typeof msg === 'string') {
|
||||
logstr = msg;
|
||||
|
||||
} else {
|
||||
if (msg.error) logstr = msg.error.stack;
|
||||
else if (msg.message) logstr = msg.message;
|
||||
|
||||
var src;
|
||||
if (msg.srcElement && msg.srcElement.src) src = msg.srcElement.src;
|
||||
else if (msg.target && msg.target.src) src = msg.target.src;
|
||||
|
||||
if (! logstr) {
|
||||
if (src) {
|
||||
logstr = 'FileError: ' + src;
|
||||
errtype = 'FILEERROR';
|
||||
} else if (msg.type) {
|
||||
logstr = msg.type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof logstr !== 'string') {
|
||||
logstr = 'empty_error_string'
|
||||
} else {
|
||||
logstr = logstr.replace(/\n/g, '').replace(/\s+/g, ' ');
|
||||
}
|
||||
|
||||
_hmt.push(['_trackEvent', errtype, window.location.pathname, logstr + ' #UA# ' + navigator.userAgent + ' # ' + er3eport.codetime()]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
if (typeof jQuery === 'function') er3eport.jqdefined();
|
||||
if (Object.defineProperty) Object.defineProperty(window, 'jQuery', {set: er3eport.jqdefined});
|
||||
|
||||
if (window.addEventListener) {
|
||||
window.addEventListener('error', er3eport.listener, true);
|
||||
} else if (window.attachEvent) {
|
||||
window.attachEvent('onerror', er3eport.listener);
|
||||
}
|
83
old/upgrade-your-browser/js/hello.world.js
Normal file
|
@ -0,0 +1,83 @@
|
|||
setTimeout(function() {
|
||||
|
||||
var realPathname = window.location.pathname;
|
||||
// ie 兼容
|
||||
if (realPathname.indexOf('/') !== 0) {
|
||||
realPathname = '/' + realPathname;
|
||||
}
|
||||
var isUPPage = realPathname === '/upgrade-your-browser.html';
|
||||
var isSpHost = window.location.hostname === 'support.dmeng.net';
|
||||
window.dodnt = function() {
|
||||
var now = new Date(); var time = now.getTime(); time += 600 * 1000; now.setTime(time);
|
||||
document.cookie = 'dnt=1' + '; expires=' + now.toUTCString() + '; path=/';
|
||||
}; var doTrack = typeof window.dnt === 'undefined';
|
||||
if (doTrack === false && document.cookie.match(/dnt=1/) === null) window.dodnt();
|
||||
|
||||
window._hmt = window._hmt || [];
|
||||
var _hmt_id = '6ddc2cf73e10ed480880c454b957e809';
|
||||
if (isSpHost) {
|
||||
|
||||
if (doTrack) {
|
||||
|
||||
_hmt_id = '3546503052812606f053b8bb63ef0e99';
|
||||
|
||||
// 统计需要升级的IE版本
|
||||
if (isUPPage) {
|
||||
|
||||
var iever = "none";
|
||||
|
||||
var _jsver = 0;
|
||||
/*@cc_on
|
||||
_jsver = @_jscript_version;
|
||||
@*/
|
||||
if (_jsver === 0) {
|
||||
// IE11 或者不是 IE
|
||||
|
||||
if (!!window.MSInputMethodContext && !!document.documentMode) {
|
||||
iever = 11;
|
||||
}
|
||||
} else {
|
||||
var docmode = document.documentMode;
|
||||
if (!! docmode && docmode > 5) {
|
||||
iever = docmode;
|
||||
} else if (_jsver === 5.7 && window.XMLHttpRequest) {
|
||||
iever = 7;
|
||||
} else if (_jsver === 5.6 || (_jsver === 5.7 && !window.XMLHttpRequest)) {
|
||||
iever = 6;
|
||||
} else {
|
||||
iever = 5;
|
||||
}
|
||||
iever += "";
|
||||
}
|
||||
|
||||
var winver = 'other';
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (ua.indexOf("Windows NT 5") !== -1) {
|
||||
winver = 'winXP';
|
||||
} else if (ua.indexOf("Windows NT 6.1") !== -1) {
|
||||
winver = 'win7';
|
||||
} else if (ua.indexOf("Windows NT 6.2") !== -1) {
|
||||
winver = 'win8';
|
||||
} else if (ua.indexOf("Windows NT 6.3") !== -1) {
|
||||
winver = 'win8.1';
|
||||
} else if (ua.indexOf("Windows NT 10") !== -1) {
|
||||
winver = 'win10';
|
||||
}
|
||||
|
||||
_hmt.push(['_setCustomVar', 1, 'ClientVer', winver + "_IE" + iever, 3]);
|
||||
}
|
||||
|
||||
} else {
|
||||
_hmt_id = 'b5afc37c04e670dc17f68727f92ea21c';
|
||||
}
|
||||
}
|
||||
|
||||
_hmt.unshift(['_setAccount', _hmt_id]);
|
||||
|
||||
var helloWorldJS = document.getElementById('hello-world-js');
|
||||
var hm = document.createElement('script');
|
||||
hm.src = '//hm.baidu.com/hm.js?' + _hmt_id;
|
||||
helloWorldJS.parentNode.insertBefore(hm, helloWorldJS);
|
||||
|
||||
}, 1500);
|