Skip to content

Commit 74e511e

Browse files
committed
fix
1 parent c9e42a3 commit 74e511e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
// @include http*://hacg.ch/*
3434
// @include http*://llss.*
3535
// @include http*://www.llss.*
36-
// @include http*://www.acgpy.com/*
36+
// @include http*://www.acgpy.*
3737
// @include http*://blog.reimu.net/*
3838
// @include http*://pan.baidu.com/share/*
3939
// @include http*://pan.baidu.com/s/*
@@ -769,15 +769,15 @@
769769
},
770770
{
771771
name:"绅士交易",
772-
url:"https://www.acgpy.com/wpx/",
773-
regex:/acgpy\.com/,
772+
url:"https://www.acgpy.net/wpx/",
773+
regex:/acgpy\./,
774774
offset:45,
775775
hideOd:true,
776776
run:function(){
777-
if(/www\.acgpy\.com\/login\d+\./.test(location.href)){
777+
if(/www\.acgpy\.[^\.]+\/login\d+\./.test(location.href)){
778778
var date=new Date();
779779
date.setTime(date.getTime()+14400*60*1000);
780-
document.cookie="trade"+location.href.replace(/.*.com\/login(\d+)\..*/,"$1")+"=A32; expires="+date.toGMTString();
780+
document.cookie="trade"+location.href.replace(/.*.[^\.]+\/login(\d+)\..*/,"$1")+"=A32; expires="+date.toGMTString();
781781
//document.cookie="trade0421=A32; expires="+date.toGMTString();
782782
top.location='wpx';
783783
}

0 commit comments

Comments
 (0)