Skip to content

Commit 08a3a99

Browse files
committed
fix
1 parent bb5728b commit 08a3a99

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
// @include http*://www.l-sj.cc/*
7676
// @include http*://htacg.cc/*
7777
// @include http*://www.htacg.cc/*
78-
// @version 3.21.23
78+
// @version 3.21.24
7979
// @grant GM_notification
8080
// @grant GM_xmlhttpRequest
8181
// @grant GM_setClipboard
@@ -690,6 +690,11 @@
690690
ele.href+="#"+ele.innerHTML;
691691
}
692692
}
693+
$(document).off("click", ".sora-card .__copy");
694+
$(document).on("click", ".sora-card .__copy", function() {
695+
var code = $(this).children("code").text();
696+
this.href=this.href.split("#")[0]+"#"+code;
697+
});
693698
break;
694699
case "幻想次元":
695700
changeUrl(true,[["a"],[['https?:\\\/\\\/[^\\\.]*(\\\.)?acg18\\\.us\\\/go\\\/\\\?url=','']]]);

0 commit comments

Comments
 (0)