File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 103103// @include http*://*miobt.*
104104// @include http*://www.dakashangche.*
105105// @include http*://xiuxiqu.*
106+ // @include https://www.reddit.com/*
106107// @include http*://sleazyfork.org/*/scripts/*
107108// @include http*://greasyfork.org/*/scripts/*
108109// @include http*://sleazyfork.org/*/forum/*discussion*
109110// @include http*://greasyfork.org/*/forum/*discussion*
110- // @version 3.22.65
111+ // @version 3.22.66
111112// @grant GM_notification
112113// @grant GM_xmlhttpRequest
113114// @grant GM_setClipboard
980981 $ ( '#magnet_url' ) . attr ( 'href' , magnet_url . full ) . text ( '磁力下载' ) . click ( function ( ) { return ( prompt ( '确认下载磁链' , magnet_url . full ) ? true : false ) ; } ) ; } else { return false ; }
981982 } ) ( jQuery ) ;
982983 }
984+ } ,
985+ {
986+ name :"Reddit" ,
987+ url :"https://www.reddit.com/r/SwitchNSPs" ,
988+ regex :/ r e d d i t \. c o m / ,
989+ hideOd :true ,
990+ run :function ( ) {
991+ window . setTimeout ( function ( ) {
992+ var article = document . querySelector ( ".RichTextJSON-root" ) ;
993+ var a = article . innerHTML . match ( / [ \d a - z \/ \+ \= ] { 50 , } / i) ;
994+ article . innerHTML = article . innerHTML . replace ( / [ \d a - z \/ \+ \= ] { 50 , } / i, "<pre>" + CryptoJS . enc . Base64 . parse ( a [ 0 ] ) . toString ( CryptoJS . enc . Utf8 ) + "</pre>" ) ;
995+ } , 3000 ) ;
996+ }
983997 }
984998 /*{
985999 name:"咻咻动漫",
You can’t perform that action at this time.
0 commit comments