Skip to content

Commit cacd308

Browse files
committed
fix
1 parent f7f6a69 commit cacd308

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
// @include http*://zuiacg.*
6060
// @include http*://www.zuiacg.*
6161
// @include http*://www.galacg.me/*
62+
// @include http*://cangku.in/*
6263
// @include http*://www.mhecy.com/*
6364
// @include http*://acgzone.org/*
6465
// @include http*://www.acgzone.org/*
@@ -87,7 +88,7 @@
8788
// @include http*://greasyfork.org/*/scripts/*
8889
// @include http*://sleazyfork.org/*/forum/*discussion*
8990
// @include http*://greasyfork.org/*/forum/*discussion*
90-
// @version 3.22.41
91+
// @version 3.22.42
9192
// @grant GM_notification
9293
// @grant GM_xmlhttpRequest
9394
// @grant GM_setClipboard
@@ -380,7 +381,7 @@
380381
},
381382
{
382383
name:"司机会所",
383-
url:"http://dakashangche.com",
384+
url:"https://dakashangche.net",
384385
regex:/sijihuisuo\.club|dakashangche\./,
385386
innerPage:/\/(sj\/\d|\?p=\d)/,
386387
offset:115,
@@ -464,10 +465,15 @@
464465
},
465466
{
466467
name:"绅士仓库",
467-
url:"http://www.galacg.me/",
468-
regex:/galacg\./,
468+
url:"https://cangku.in/",
469+
regex:/galacg\.|cangku\.in/,
469470
hideOd:true,
470-
articleSel:"div.article"
471+
articleSel:"section.post-wrap",
472+
run:function(){
473+
window.setTimeout(function(){
474+
process();
475+
},500);
476+
}
471477
},
472478
{
473479
name:"樱花漫舍",
@@ -759,7 +765,7 @@
759765
offset:45,
760766
hideOd:true,
761767
run:function(){
762-
if(/www\.acgpy\.com\/login\d+\.html/.test(location.href)){
768+
if(/www\.acgpy\.com\/login\d+\./.test(location.href)){
763769
var date=new Date();
764770
date.setTime(date.getTime()+14400*60*1000);
765771
document.cookie="trade"+location.href.replace(/.*.com\/login(\d+)\..*/,"$1")+"=A32; expires="+date.toGMTString();
@@ -1360,7 +1366,7 @@
13601366
if(!pre)pre=document.querySelector(".prev>a");
13611367
if(!next)next=document.querySelector(".next>a");
13621368
if(!pre && !next){
1363-
let aTags=document.querySelectorAll("a");
1369+
let aTags=document.querySelectorAll("a,button>span");
13641370
if(!pre){
13651371
let pref,pres,pret;
13661372
for(var i=0;i<aTags.length;i++){

0 commit comments

Comments
 (0)