-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathie-blocker.zhCN.js
57 lines (51 loc) · 2.52 KB
/
ie-blocker.zhCN.js
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
(function () {
var ibContainer;
var html;
ibContainer = document.createElement('div');
ibContainer.setAttribute('id', 'ib-container');
var html="";
html += "<div class=\"ib-modal\">";
html += " <div class=\"ib-header\">";
html += " <h1>您的浏览器需要更新<\/h1>";
html += " <p>为了保证页面的正常显示并保护您的个人信息,";
html += " <br><strong>请使用以下新版浏览器<\/strong>";
html += " <\/p>";
html += " <\/div>";
html += " <ul class=\"ib-browsers\">";
html += " <li>";
html += " <a href=\"http:\/\/www.google.cn\/chrome\/browser\/desktop\/index.html\">";
html += " <div class=\"ib-browser-name\">Chrome<\/div>";
html += " <div class=\"ib-browser-description\">快速,简单,安全 - 由谷歌开发<\/div>";
html += " <\/a>";
html += " <\/li>";
html += " <li>";
html += " <a href=\"http:\/\/www.firefox.com.cn\" target=\"_blank\">";
html += " <div class=\"ib-browser-name\">Firefox<\/div>";
html += " <div class=\"ib-browser-description\">快速,安全,免费,开源的浏览器<\/div>";
html += " <\/a>";
html += " <\/li>";
html += " <li>";
html += " <a href=\"https:\/\/www.apple.com\/cn\/safari\" target=\"_blank\">";
html += " <div class=\"ib-browser-name\">Safari<\/div>";
html += " <div class=\"ib-browser-description\">由苹果公司设计用于 Mac 的产品<\/div>";
html += " <\/a>";
html += " <\/li>";
html += " <li>";
html += " <a href=\"http:\/\/www.opera.com\/zh-cn\" target=\"_blank\">";
html += " <div class=\"ib-browser-name\">Opera<\/div>";
html += " <div class=\"ib-browser-description\">快速, 小巧的浏览器<\/div>";
html += " <\/a>";
html += " <\/li>";
html += " <\/ul>";
html += " <div class=\"ib-footer\">";
html += " <a class=\"ib-try\" href=\"http:\/\/www.google.cn\/chrome\/browser\/desktop\/index.html\">试试Chrome<\/a>";
html += " <\/div>";
html += "<\/div>";
html += "<div class=\"ib-mask\"><\/div>";
html += "";
ibContainer.innerHTML = html;
window.onload = function () {
document.body.appendChild(ibContainer);
ibContainer.style.display = 'block';
};
})();