Skip to content

Commit fb6b76b

Browse files
committed
fix
1 parent a6094e3 commit fb6b76b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

HacgGodTurn.user.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// @include http*://www.acgzone.org/*
4343
// @include http*://uraban.me/*
4444
// @include http*://www.uraban.me/*
45-
// @version 3.19.99
45+
// @version 3.20.01
4646
// @grant GM_notification
4747
// @grant GM_xmlhttpRequest
4848
// @run-at document-end
@@ -175,7 +175,8 @@
175175
name:"acgnz",
176176
url:"http://www.acgnz.cc/",
177177
regex:/acgnz\.cc/,
178-
hideOd:true
178+
hideOd:true,
179+
offset:55
179180
},
180181
{
181182
name:"oomoe",
@@ -287,7 +288,7 @@
287288
});
288289
createBlockBtn();
289290
}else if(config.sites.findSite("acg12").regex.test(location.href)){
290-
articleSel="section.post";
291+
articleSel="section.card";
291292
if(isHttps)
292293
addInsertHandler([["a","img","link","script"],[['p:(\/\/|\\\\\\/\\\\\\/)(www\.|static\.)?acg12','ps:$1$2acg12']]]);
293294
if(config.sites.findSite("acg12").downloadUrl.test(location.href)){
@@ -359,6 +360,7 @@
359360
baseUrl.href=baseUrl.href.replace(/http:/,"https:");
360361
}
361362
}else if(config.sites.findSite("acgnz").regex.test(location.href)){
363+
articleSel="section.card";
362364
if(isHttps)
363365
addInsertHandler([["a","img","link","script"],[['p:(\/\/|\\\\\\/\\\\\\/)(www\.)?acgnz','ps:$1$2acgnz']]]);
364366
}else if(config.sites.findSite("nacg").regex.test(location.href)){
@@ -430,7 +432,7 @@
430432
}else if(config.sites.findSite("galacg").regex.test(location.href)){
431433
articleSel="div.article";
432434
}else if(config.sites.findSite("acg15").regex.test(location.href)){
433-
articleSel="section.post";
435+
articleSel="section.card";
434436
}
435437

436438
document.addEventListener("keydown", function(e) {

0 commit comments

Comments
 (0)