Skip to content

Commit 9d1c46f

Browse files
committed
fix
1 parent 698d2b5 commit 9d1c46f

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@
6666
// @include http*://*.gmgard.com/*
6767
// @include http*://www.kou.moe/*
6868
// @include http*://www.91moe.com/*
69-
// @version 3.20.68
69+
// @version 3.20.69
7070
// @grant GM_notification
7171
// @grant GM_xmlhttpRequest
7272
// @grant GM_setClipboard
7373
// @run-at document-end
74-
// @require https://greasyfork.org/scripts/23522/code/od.js?version=159871
74+
// @require https://greasyfork.org/scripts/23522/code/od.js?version=160909
7575
// @require https://cdn.jsdelivr.net/crypto-js/3.1.2/components/core-min.js
7676
// @require https://cdn.jsdelivr.net/crypto-js/3.1.2/rollups/aes.js
7777
// @license MIT License
@@ -475,7 +475,7 @@
475475
changeUrl(true,[["a"],[['http:(.*hacg)','https:$1']]]);
476476
}
477477
if(/hacg\.(ch|la|at|tw)/.test(location.href)){
478-
document.title = "冒牌的"+document.title;
478+
document.title = "冒牌货 ★ "+document.title;
479479
}
480480
var embeds=document.querySelectorAll(".wp-embedded-content");
481481
for(i=0;i<embeds.length;i++){
@@ -680,6 +680,15 @@
680680
}
681681
bgLi.appendChild(batchBg);
682682
document.querySelector("ul.navbar-nav").appendChild(bgLi);
683+
var processing=false;
684+
document.querySelector("#comments").addEventListener('DOMNodeInserted', function(e) {
685+
if(processing)return;
686+
processing=true;
687+
setTimeout(function(){
688+
seriousReplace(commArea);
689+
processing=false;
690+
},500);
691+
});
683692
break;
684693
case "紳士の庭":
685694
if(isHttps)addInsertHandler([["img"],[['p(:\\\/\\\/static\.gmgard\.com)','ps$1']]]);

0 commit comments

Comments
 (0)