-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (50 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>17683954109的GitHub主页</title>
</head>
<link rel="stylesheet" type="text/css" href="css/index.css">
<script>
(function(){
var w = document.documentElement.clientWidth || document.body.clientWidth;
var h = document.documentElement.clientHeight || document.body.clientHeight;
if (w <1000) {
location.href="https://17683954109.github.io/min.html";
}
})()
</script>
<body>
<div class="head">
<img src="https://wx1.sinaimg.cn/mw690/0060lm7Tly1fq7bih4e50j31hc0y944c.jpg"/>
</div>
<a onclick="alee()" value="登录" onselectstart="return false;" class="aa">登录</a>
<div class="select">
<p>常用链接</p>
<a href="http://www.baidu.com">百度</a>
<a href="http://huaban.com/">花瓣</a>
<a href="http://www.ui.cn">UI中国</a>
<a href="base64.html">base64转换</a>
<a href="canvas_demo.html">Canvas示例</a>
</div>
</body>
</html>
<script type="text/javascript">
function alee(){
var a = window.prompt('Github登录:输入密码:');
if (a == null||a == undefined||a == '') {
// alert('请输入正确的密码!!!');
return;
}else{
if (a=='935915822izr') {
alert('登录成功!!!');
location.href='https://github.com/17683954109';
}else{
alert('密码错误!!!');
alee();
}
}
}
// alee();
// window.close();
</script>