File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646// @include http*://acgmoon.*
4747// @include http*://www.moe-acg.cc/*
4848// @include http*://htai.*
49- // @version 3.20.25
49+ // @version 3.20.26
5050// @grant GM_notification
5151// @grant GM_xmlhttpRequest
5252// @run -at document-end
123123 name :"lifan" ,
124124 url :"http://lifanmoe.com/" ,
125125 regex :/ l i f a n m o e \. / ,
126+ downloadUrl :/ l i f a n m o e \. c o m \/ d o w n l o a d / ,
126127 offset :55
127128 } ,
128129 {
399400 break ;
400401 case "lifan" :
401402 articleSel = "section.card" ;
403+ if ( curSite . downloadUrl . test ( location . href ) ) {
404+ t = window . setInterval ( function ( ) {
405+ if ( document . querySelector ( '.btn-success' ) ) {
406+ clearInterval ( t ) ;
407+ process ( ) ;
408+ }
409+ } , 1000 ) ;
410+ }
411+ curSite . getDownPass = function ( target ) {
412+ var pass2 = target . parentNode . parentNode . parentNode . querySelector ( 'input.form-control' ) ;
413+ if ( pass2 ) target . href += '#' + pass2 . value ;
414+ } ;
402415 break ;
403416 case "moe-acg" :
404417 articleSel = "section.card" ;
You can’t perform that action at this time.
0 commit comments