Skip to content

Commit 2b8c776

Browse files
committed
fix
1 parent 8e35547 commit 2b8c776

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
// @include http*://uraban.me/*
6262
// @include http*://www.uraban.me/*
6363
// @include http*://acgmoon.*
64-
// @include http*://www.moe-acg.cc/*
64+
// @include http*://www.moe-acg.*/*
6565
// @include http*://www.mygalgame.com/*
6666
// @include http*://htai.*
6767
// @include http*://gmgard.com/*
@@ -239,11 +239,11 @@
239239
},
240240
{
241241
name:"萌幻之乡",
242-
url:"https://www.moe-acg.cc/",
242+
url:"https://www.moe-acg.us/",
243243
regex:/moe-acg\./,
244244
offset:55,
245245
hideOd:true,
246-
downloadUrl:/moe-acg\.cc\/download/,
246+
downloadUrl:/moe-acg\..*\/download/,
247247
articleSel:"section.card"
248248
},
249249
{
@@ -257,7 +257,8 @@
257257
name:"紳士の庭",
258258
url:"https://gmgard.com/",
259259
regex:/gmgard\.com/,
260-
articleSel:"div.post"
260+
articleSel:"div.post",
261+
noScale:true
261262
},
262263
{
263264
name:"MyGalgame - 忧郁的弟弟",
@@ -1283,7 +1284,7 @@
12831284

12841285
function scrollArticle(a){
12851286
curArticle=a;
1286-
curArticle.classList.add("oD_sel");
1287+
if(!curSite.noScale)curArticle.classList.add("oD_sel");
12871288
let pos=elementPosition(curArticle).y;
12881289
if(curSite && curSite.offset)pos-=curSite.offset;
12891290
scrollToControl(pos);

0 commit comments

Comments
 (0)