File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282// @include http*://greasyfork.org/*/scripts/*
8383// @include http*://sleazyfork.org/*/forum/*discussion*
8484// @include http*://greasyfork.org/*/forum/*discussion*
85- // @version 3.22.25
85+ // @version 3.22.26
8686// @grant GM_notification
8787// @grant GM_xmlhttpRequest
8888// @grant GM_setClipboard
758758 offset :45 ,
759759 hideOd :true ,
760760 run :function ( ) {
761- if ( location . href == "https:// www.acgpy.com/login0202 .html" ) {
761+ if ( / w w w \ .a c g p y \ .c o m \/ l o g i n \d + \ .h t m l / . test ( location . href ) ) {
762762 var date = new Date ( ) ;
763763 date . setTime ( date . getTime ( ) + 14400 * 60 * 1000 ) ;
764- document . cookie = "trade0202 =A32; expires=" + date . toGMTString ( ) ;
764+ document . cookie = "trade" + location . href . replace ( / . * . c o m \/ l o g i n ( \d + ) \. . * / , "$1" ) + " =A32; expires="+ date . toGMTString ( ) ;
765765 top . location = 'wpx' ;
766766 }
767767 var downBtn = document . querySelector ( "a.downbtn" ) ;
You can’t perform that action at this time.
0 commit comments