File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change
1
+ ( function ( ) {
2
+ var plugin = function ( hook ) {
3
+ hook . doneEach ( function ( ) {
4
+ var sc = document . createElement ( 'script' )
5
+ sc . src = 'https://s5.cnzz.com/z_stat.php?id=' +
6
+ window . $docsify . cnzzId + '&online=1&show=line'
7
+ document . querySelector ( 'article' ) . appendChild ( sc )
8
+ } )
9
+ }
10
+ var plugins = window . $docsify . plugins || [ ]
11
+ plugins . push ( plugin )
12
+ window . $docsify . plugins = plugins
13
+ } ) ( )
Original file line number Diff line number Diff line change 44
44
} )
45
45
hook . doneEach ( function ( ) {
46
46
( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } )
47
- var sc = document . createElement ( 'script' )
48
- sc . src = 'https://s5.cnzz.com/z_stat.php?id=1275211409&online=1&show=line'
49
- document . querySelector ( 'article' ) . appendChild ( sc )
50
47
} )
51
48
}
52
49
61
58
'/.*/SUMMARY.md' : '/SUMMARY.md' ,
62
59
} ,
63
60
bdStatId : '38525fdac4b5d4403900b943d4e7dd91' ,
61
+ cnzzId : '1275211409' ,
64
62
search : {
65
63
paths : 'auto' ,
66
64
placeholder : '搜索' ,
84
82
< script src ="asset/docsify-baidu-push.js "> </ script >
85
83
< script src ="asset/docsify-baidu-push.js "> </ script >
86
84
< script src ="asset/docsify-baidu-stat.js "> </ script >
85
+ < script src ="asset/docsify-cnzz.js "> </ script >
87
86
</ body >
88
87
</ html >
You can’t perform that action at this time.
0 commit comments