1
- <!DOCTYPE html>
2
- < html lang ="zh ">
3
-
4
- < head >
5
- < meta charset ="utf-8 " />
6
- < meta name ="Description " content ="胡伯的傻逼小病毒 " />
7
- < meta name ="viewport " content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=yes ">
8
- < title > 请更新下您的杀毒软件,谢谢</ title >
9
- < style >
10
- a {
11
- text-decoration : none;
12
- }
13
-
14
- body {
15
- text-align : center;
16
- background-color : black;
17
- color : white;
18
- }
19
-
20
- # close-button {
21
- position : fixed;
22
- right : 5px ;
23
- top : 5px ;
24
- }
25
-
26
- # close-button .hidden {
27
- opacity : 0 ;
28
- top : -100px ;
29
- }
30
-
31
- # close-button a {
32
- color : grey;
33
- }
34
-
35
- h1 {
36
- color : red;
37
- text-align : center;
38
- }
39
-
40
- # bbs {
41
- font-size : 72px ;
42
- }
43
-
44
- # good {
45
- width : 85px ;
46
- height : 60px ;
47
- font-size : 18px ;
48
- }
49
-
50
- .rights {
51
- position : absolute;
52
- bottom : 0 ;
53
- }
54
-
55
- .rights a {
56
- color : # BBF ;
57
- }
58
-
59
- # jr {
60
- text-align : right;
61
- }
62
-
63
- * {
64
- font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Oxygen,
65
- Ubuntu, Cantarell, "Open Sans" , "微软雅黑" , "思源黑体" , "苹方" , Arial,
66
- Helvetica, "Helvetica Neue" , sans-serif;
67
- }
68
-
69
- code {
70
- font-family : "Cascadia Code" , Consolas, "Lucida Console" , "Courier New" , Courier, monospace;
71
- }
72
- </ style >
73
- </ head >
74
-
75
- < body >
76
- < div id ="mightTwink ">
77
- < div id ="close-button " class ="hidden ">
78
- < a href ="option.html " title ="不要再给我整提这个胡伯的傻逼小病毒了好吧! ">
79
- < p id ="jr " align ="right "> ✕</ p >
80
- </ a >
81
- </ div >
82
- < p id ="bbs "> ☠️</ p > <!-- 此处是绘文字标签 -->
83
- </ div >
84
- < div >
85
- < h1 >
86
- <!-- --> 你中毒了,点击确定!
87
- </ h1 >
88
- < p > < button id ="good " title ="Good! "> 确定</ button > </ p >
89
- <!-- <p><input type="text" id="demo" value="0" style="display:none;" /><input type="text" id="y" style="display:none;" /></p> -->
90
- </ div >
91
- < div class ="rights ">
92
- < code > < a href ="javascript:location.reload(); "> ©</ a > All Right Reserved.</ code >
93
- </ div >
94
- < script >
95
- var y = 0 ;
96
- function sandrine ( ) { return Math . floor ( Math . random ( ) * 200 + 50 ) ; }
97
- HTMLElement . prototype . hide = function ( hide ) {
98
- this . style . display = ( hide ? "none" : "" ) ;
99
- } ;
100
- document . getElementById ( "good" ) . addEventListener ( 'click' , function ( ) {
101
- alert ( "A serious error occurred!!" ) ;
102
- var mightTwink = document . getElementById ( "mightTwink" ) ;
103
- mightTwink . hide ( true ) ;
104
- setTimeout ( function ( ) {
105
- mightTwink . hide ( false ) ;
106
- y ++ ;
107
- var closeButton = document . getElementById ( "close-button" ) ;
108
- if ( y && ! ( y % 10 ) ) closeButton . className = "" ;
109
- else closeButton . className = "hidden" ;
110
- } , sandrine ( ) ) ;
111
- } , false ) ;
112
- /* 控制台输出文字部分 */
113
- console . log ( "使用方略:\n\
114
- 点按“确定”键十次,忽略弹窗。指的是页面中的按钮,弹窗中的不算。然后右上角会出现一个叉,之后就能退出去进入主界面了。\n\
115
- 左下角的版权符号(即圈 C)可以刷新,避免误操作错过了点击十次。\n\
116
- - 所以请不要再给我整提这个胡伯的傻逼小病毒了好吧!" ) ;
117
- /* 判断浏览器内核及版本 */
118
- function BrowserType ( ) {
119
- var userAgent = navigator . userAgent ; //取得浏览器的userAgent字符串
120
- var isOpera = userAgent . indexOf ( "Opera" ) > - 1 ; //判断是否Opera浏览器
121
- // var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera; //判断是否IE浏览器
122
- var isIE = window . ActiveXObject || "ActiveXObject" in window
123
- // var isEdge = userAgent.indexOf("Windows NT 6.1; Trident/7.0;") > -1 && !isIE; //判断是否IE的Edge浏览器
124
- var isEdge = userAgent . indexOf ( "Edge" ) > - 1 ; //判断是否IE的Edge浏览器
125
- var isFF = userAgent . indexOf ( "Firefox" ) > - 1 ; //判断是否Firefox浏览器
126
- var isSafari = userAgent . indexOf ( "Safari" ) > - 1 && userAgent . indexOf ( "Chrome" ) == - 1 ; //判断是否Safari浏览器
127
- var isChrome = userAgent . indexOf ( "Chrome" ) > - 1 && userAgent . indexOf ( "Safari" ) > - 1 && ! isEdge ; //判断Chrome浏览器
128
-
129
- if ( isIE ) {
130
- var reIE = new RegExp ( "MSIE (\\d+\\.\\d+);" ) ;
131
- reIE . test ( userAgent ) ;
132
- var fIEVersion = parseFloat ( RegExp [ "$1" ] ) ;
133
- if ( userAgent . indexOf ( 'MSIE 6.0' ) != - 1 ) {
134
- return "IE6" ;
135
- } else if ( fIEVersion == 7 ) { return "IE7" ; }
136
- else if ( fIEVersion == 8 ) { return "IE8" ; }
137
- else if ( fIEVersion == 9 ) { return "IE9" ; }
138
- else if ( fIEVersion == 10 ) { return "IE10" ; }
139
- else if ( userAgent . toLowerCase ( ) . match ( / r v : ( [ \d . ] + ) \) l i k e g e c k o / ) ) {
140
- return "IE11" ;
141
- }
142
- else { return "0" } //IE版本过低
143
- } // isIE end
144
-
145
- if ( isFF ) { return "Firefox" ; }
146
- if ( isOpera ) { return "Opera" ; }
147
- if ( isSafari ) { return "Safari" ; }
148
- if ( isChrome ) { return "Chrome" ; }
149
- if ( isEdge ) { return "Edge" ; }
150
- } // myBrowser() end
151
- function getChromeVersion ( ) {
152
- var arr = navigator . userAgent . split ( ' ' ) ;
153
- var chromeVersion = '' ;
154
- for ( var i = 0 ; i < arr . length ; i ++ ) {
155
- if ( / c h r o m e / i. test ( arr [ i ] ) )
156
- chromeVersion = arr [ i ]
157
- }
158
- if ( chromeVersion ) {
159
- return Number ( chromeVersion . split ( '/' ) [ 1 ] . split ( '.' ) [ 0 ] ) ;
160
- } else {
161
- return false ;
162
- }
163
- }
164
- if ( location . href . indexOf ( '#' ) === - 1 ) {
165
- const browser = BrowserType ( ) ;
166
- if ( browser == "Firefox" || (
167
- browser == "Chrome" ||
168
- browser == "Edge" ) &&
169
- getChromeVersion ( ) >= 88
170
- ) jr . click ( ) ;
171
- else if ( Math . random ( ) < 0.5 ) location . href = "psychometry.html" ;
172
- }
173
- </ script >
174
- </ body >
175
-
176
- </ html >
1
+ <!DOCTYPE html>
2
+ < html lang ="zh ">
3
+
4
+ < head >
5
+ < meta charset ="utf-8 " />
6
+ < meta name ="Description " content ="胡伯的傻逼小病毒 " />
7
+ < meta name ="viewport " content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=yes ">
8
+ < title > 请更新下您的杀毒软件,谢谢</ title >
9
+ < script >
10
+ /* 判断浏览器内核及版本 */
11
+ function BrowserType ( ) {
12
+ var userAgent = navigator . userAgent ; //取得浏览器的userAgent字符串
13
+ var isOpera = userAgent . indexOf ( "Opera" ) > - 1 ; //判断是否Opera浏览器
14
+ // var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera; //判断是否IE浏览器
15
+ var isIE = window . ActiveXObject || "ActiveXObject" in window
16
+ // var isEdge = userAgent.indexOf("Windows NT 6.1; Trident/7.0;") > -1 && !isIE; //判断是否IE的Edge浏览器
17
+ var isEdge = userAgent . indexOf ( "Edge" ) > - 1 ; //判断是否IE的Edge浏览器
18
+ var isFF = userAgent . indexOf ( "Firefox" ) > - 1 ; //判断是否Firefox浏览器
19
+ var isSafari = userAgent . indexOf ( "Safari" ) > - 1 && userAgent . indexOf ( "Chrome" ) == - 1 ; //判断是否Safari浏览器
20
+ var isChrome = userAgent . indexOf ( "Chrome" ) > - 1 && userAgent . indexOf ( "Safari" ) > - 1 && ! isEdge ; //判断Chrome浏览器
21
+
22
+ if ( isIE ) {
23
+ var reIE = new RegExp ( "MSIE (\\d+\\.\\d+);" ) ;
24
+ reIE . test ( userAgent ) ;
25
+ var fIEVersion = parseFloat ( RegExp [ "$1" ] ) ;
26
+ if ( userAgent . indexOf ( 'MSIE 6.0' ) != - 1 ) {
27
+ return "IE6" ;
28
+ } else if ( fIEVersion == 7 ) { return "IE7" ; }
29
+ else if ( fIEVersion == 8 ) { return "IE8" ; }
30
+ else if ( fIEVersion == 9 ) { return "IE9" ; }
31
+ else if ( fIEVersion == 10 ) { return "IE10" ; }
32
+ else if ( userAgent . toLowerCase ( ) . match ( / r v : ( [ \d . ] + ) \) l i k e g e c k o / ) ) {
33
+ return "IE11" ;
34
+ }
35
+ else { return "0" } //IE版本过低
36
+ } // isIE end
37
+
38
+ if ( isFF ) { return "Firefox" ; }
39
+ if ( isOpera ) { return "Opera" ; }
40
+ if ( isSafari ) { return "Safari" ; }
41
+ if ( isChrome ) { return "Chrome" ; }
42
+ if ( isEdge ) { return "Edge" ; }
43
+ } // myBrowser() end
44
+ function getChromeVersion ( ) {
45
+ var arr = navigator . userAgent . split ( ' ' ) ;
46
+ var chromeVersion = '' ;
47
+ for ( var i = 0 ; i < arr . length ; i ++ ) {
48
+ if ( / c h r o m e / i. test ( arr [ i ] ) )
49
+ chromeVersion = arr [ i ]
50
+ }
51
+ if ( chromeVersion ) {
52
+ return Number ( chromeVersion . split ( '/' ) [ 1 ] . split ( '.' ) [ 0 ] ) ;
53
+ } else {
54
+ return false ;
55
+ }
56
+ }
57
+ if ( location . href . indexOf ( '#' ) === - 1 ) {
58
+ const browser = BrowserType ( ) ;
59
+ if ( browser == "Firefox" || (
60
+ browser == "Chrome" ||
61
+ browser == "Edge" ) &&
62
+ getChromeVersion ( ) >= 120
63
+ ) location . href = "option.html" ;
64
+ }
65
+ </ script >
66
+ < style >
67
+ a {
68
+ text-decoration : none;
69
+ }
70
+
71
+ body {
72
+ text-align : center;
73
+ background-color : black;
74
+ color : white;
75
+ }
76
+
77
+ # close-button {
78
+ position : fixed;
79
+ right : 5px ;
80
+ top : 5px ;
81
+ }
82
+
83
+ # close-button .hidden {
84
+ opacity : 0 ;
85
+ top : -100px ;
86
+ }
87
+
88
+ # close-button a {
89
+ color : grey;
90
+ }
91
+
92
+ h1 {
93
+ color : red;
94
+ text-align : center;
95
+ }
96
+
97
+ # bbs {
98
+ font-size : 72px ;
99
+ }
100
+
101
+ # good {
102
+ width : 85px ;
103
+ height : 60px ;
104
+ font-size : 18px ;
105
+ }
106
+
107
+ .rights {
108
+ position : absolute;
109
+ bottom : 0 ;
110
+ }
111
+
112
+ .rights a {
113
+ color : # BBF ;
114
+ }
115
+
116
+ # jr {
117
+ text-align : right;
118
+ }
119
+
120
+ * {
121
+ font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Oxygen,
122
+ Ubuntu, Cantarell, "Open Sans" , "微软雅黑" , "思源黑体" , "苹方" , Arial,
123
+ Helvetica, "Helvetica Neue" , sans-serif;
124
+ }
125
+
126
+ code {
127
+ font-family : "Cascadia Code" , Consolas, "Lucida Console" , "Courier New" , Courier, monospace;
128
+ }
129
+ </ style >
130
+ </ head >
131
+
132
+ < body >
133
+ < div id ="mightTwink ">
134
+ < div id ="close-button " class ="hidden ">
135
+ < a href ="option.html " title ="不要再给我整提这个胡伯的傻逼小病毒了好吧! ">
136
+ < p id ="jr " align ="right "> ✕</ p >
137
+ </ a >
138
+ </ div >
139
+ < p id ="bbs "> ☠️</ p > <!-- 此处是绘文字标签 -->
140
+ </ div >
141
+ < div >
142
+ < h1 >
143
+ <!-- --> 你中毒了,点击确定!
144
+ </ h1 >
145
+ < p > < button id ="good " title ="Good! "> 确定</ button > </ p >
146
+ <!-- <p><input type="text" id="demo" value="0" style="display:none;" /><input type="text" id="y" style="display:none;" /></p> -->
147
+ </ div >
148
+ < div class ="rights ">
149
+ < code > < a href ="javascript:location.reload(); "> ©</ a > All Right Reserved.</ code >
150
+ </ div >
151
+ < script >
152
+ var y = 0 ;
153
+ function sandrine ( ) { return Math . floor ( Math . random ( ) * 200 + 50 ) ; }
154
+ HTMLElement . prototype . hide = function ( hide ) {
155
+ this . style . display = ( hide ? "none" : "" ) ;
156
+ } ;
157
+ document . getElementById ( "good" ) . addEventListener ( 'click' , function ( ) {
158
+ alert ( "A serious error occurred!!" ) ;
159
+ var mightTwink = document . getElementById ( "mightTwink" ) ;
160
+ mightTwink . hide ( true ) ;
161
+ setTimeout ( function ( ) {
162
+ mightTwink . hide ( false ) ;
163
+ y ++ ;
164
+ var closeButton = document . getElementById ( "close-button" ) ;
165
+ if ( y && ! ( y % 10 ) ) closeButton . className = "" ;
166
+ else closeButton . className = "hidden" ;
167
+ } , sandrine ( ) ) ;
168
+ } , false ) ;
169
+ /* 控制台输出文字部分 */
170
+ console . log ( "使用方略:\n\
171
+ 点按“确定”键十次,忽略弹窗。指的是页面中的按钮,弹窗中的不算。然后右上角会出现一个叉,之后就能退出去进入主界面了。\n\
172
+ 左下角的版权符号(即圈 C)可以刷新,避免误操作错过了点击十次。\n\
173
+ - 所以请不要再给我整提这个胡伯的傻逼小病毒了好吧!" ) ;
174
+ // 概率进入心理小测验
175
+ if ( location . href . indexOf ( '#' ) === - 1 ) {
176
+ if ( Math . random ( ) < 0.4 ) location . href = "psychometry.html" ;
177
+ }
178
+ </ script >
179
+ </ body >
180
+
181
+ </ html >
0 commit comments