File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 34403440 w3school_cn : {
34413441 host : 'www.w3school.com.cn' ,
34423442 functionStart : function ( ) { if ( location . pathname . split ( '/' ) . length > 2 ) { curSite = DBSite . w3school_cn ; } } ,
3443+ insStyle : '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}' ,
34433444 pager : {
34443445 type : 1 ,
34453446 nextL : function ( ) { // 过滤部分非本页的参考手册
34463447 let next = document . querySelector ( 'li.next > a' )
34473448 if ( next . href . indexOf ( '/index.' ) === - 1 ) return next . href ;
34483449 curSite = { SiteTypeID : 0 } ; return ''
34493450 } ,
3450- pageE : 'css;#maincontent > h1, #maincontent > div :not(#tpn):not(#bpn )' ,
3451- insertP : [ 'css;#bpn ' , 1 ] ,
3451+ pageE : 'css;#maincontent > * :not(.prenextnav )' ,
3452+ insertP : [ '//div[@class="prenextnav"][last()] ' , 1 ] ,
34523453 replaceE : 'css;ul.prenext, #navsecond, head > title' ,
34533454 history : true ,
34543455 forceHTTPS : true ,
You can’t perform that action at this time.
0 commit comments