File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272// @include http*://yui-nya.com/*
7373// @include http*://www.l-sj.cc/*
7474// @include http*://htacg.cc/*
75- // @version 3.20.76
75+ // @version 3.20.77
7676// @grant GM_notification
7777// @grant GM_xmlhttpRequest
7878// @grant GM_setClipboard
740740 if ( isHttps ) addInsertHandler ( [ [ "img" ] , [ [ 'p(:\\\/\\\/static\.gmgard\.com)' , 'ps$1' ] ] ] ) ;
741741 curSite . preRocket = function ( ) { unsafeWindow . $ ( '#dllist a' ) . mouseenter ( ) ; } ;
742742 break ;
743+ case "绅士交易" :
744+ var downBtn = document . querySelector ( "a.downbtn" ) ;
745+ if ( downBtn ) {
746+ GM_xmlhttpRequest ( {
747+ method : 'GET' ,
748+ url : downBtn . href ,
749+ onload : function ( d ) {
750+ var doc = null ;
751+ try {
752+ doc = document . implementation . createHTMLDocument ( '' ) ;
753+ doc . documentElement . innerHTML = d . responseText ;
754+ }
755+ catch ( e ) {
756+ console . log ( 'parse error' ) ;
757+ }
758+ if ( ! doc ) {
759+ return ;
760+ }
761+ downBtn . parentNode . insertBefore ( doc . querySelector ( "div.list" ) , downBtn ) ;
762+ process ( ) ;
763+ } ,
764+ onerror : function ( e ) {
765+ console . log ( e ) ;
766+ }
767+ } ) ;
768+ }
743769 }
744770 }
745771 if ( curSite && curSite . downloadUrl && curSite . downloadUrl . test ( location . href ) ) {
You can’t perform that action at this time.
0 commit comments