Skip to content

Commit d6faadf

Browse files
committed
fix
1 parent a6d8bab commit d6faadf

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

HacgGodTurn.user.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// @include http*://acgmoon.*
4747
// @include http*://www.moe-acg.cc/*
4848
// @include http*://htai.*
49-
// @version 3.20.30
49+
// @version 3.20.31
5050
// @grant GM_notification
5151
// @grant GM_xmlhttpRequest
5252
// @run-at document-end
@@ -203,7 +203,8 @@
203203
url:"http://www.acgnz.cc/",
204204
regex:/acgnz\.cc/,
205205
hideOd:true,
206-
offset:55
206+
offset:55,
207+
downloadUrl:/acgnz\.cc\/download/
207208
},
208209
{
209210
name:"moxacg",
@@ -422,6 +423,10 @@
422423
case "acgnz":
423424
articleSel="section.card";
424425
if(isHttps)addInsertHandler([["a","img","link","script"],[['p:(\\\/\\\/|\\\\\\/\\\\\\/)(www\\\.)?acgnz','ps:$1$2acgnz']]]);
426+
curSite.getDownPass=function(target){
427+
var pass2=target.parentNode.parentNode.parentNode.querySelector('input.form-control');
428+
if(pass2)target.href+='#'+pass2.value;
429+
};
425430
break;
426431
case "nacg":
427432
contentArea='.content';

0 commit comments

Comments
 (0)