File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,21 @@ function getContentWidth(compareWidth){
6565 } ) ;
6666}
6767
68+ function consoleInfo ( ) {
69+ try {
70+ if ( window . console && window . console . log ) {
71+ console . log ( "\n" )
72+ console . log ( "一位新人,要经历怎样的成长,才能站在技术之巅?\n想探寻这里面蕴含的秘密?赶快把我的博客加入收藏,添加到书签,你,可以影响世界。\n" ) ;
73+ console . log ( "如果你想和我取得联系,你可以发送邮件至 %c 569032731@qq.com" , "color:red" ) ;
74+ console . log ( "IM联系方式: %c QQ/Wechat: 569032731( 请附上验证信息)" , "color:red" ) ;
75+ console . log ( "\n" )
76+ console . log ( "博客中有关的示例代码:%c https://github.com/zhaoqingqing/blog_samplecode" , "color:green" )
77+ console . log ( "博客的主题的源码托管:%c https://github.com/zhaoqingqing/cnblogs" , "color:green" )
78+ console . log ( "\n" )
79+ }
80+ } catch ( e ) { }
81+ }
82+
6883$ ( document ) . ready ( function ( ) {
6984 $ ( window ) . resize ( function ( ) {
7085 /*if (document.getElementById("cnblogs_post_body")){
@@ -75,6 +90,7 @@ $(document).ready(function() {
7590 } ) ;
7691var md = new MobileDetect ( window . navigator . userAgent ) ;
7792 if ( md . mobile ( ) ) { } else {
93+ consoleInfo ( ) ;
7894 $ ( "<div id='toTop' title='回顶部'></div>" ) . appendTo ( $ ( "body" ) ) ;
7995 $ ( "#toTop" ) . bind ( "click" , function ( ) {
8096 $ ( "body,html" ) . animate ( {
You can’t perform that action at this time.
0 commit comments