Skip to content

Commit b02ab02

Browse files
committed
fix
1 parent 43ea139 commit b02ab02

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
// @include http*://sleazyfork.org/*/scripts/*
8080
// @include http*://greasyfork.org/*/scripts/*
8181
// @include http*://*yfork.org/*/forum/*discussion*
82-
// @version 3.22.16
82+
// @version 3.22.17
8383
// @grant GM_notification
8484
// @grant GM_xmlhttpRequest
8585
// @grant GM_setClipboard
@@ -604,10 +604,10 @@
604604
changeUrl(true,[["object"],[['http:','https:']]]);
605605
changeUrl(true,[["a"],[['http:(.*hacg)','https:$1']]]);
606606
}
607-
if(/hacg\.(ch|la|at|tw|se)/.test(location.href)){
608-
document.title = document.title.replace(/\u7409\u7483\u795e\u793e/,"\u7409\u7483\u795e\u793e");
607+
if(document.querySelector(".metaslider-flex")){
608+
document.title = document.title.replace(/\u7409\u7483\u795e\u793e/,"\u7409\u7483\u795e\u793e");
609609
[].forEach.call(document.querySelectorAll("a"), function(item, index, arr) {
610-
item.innerHTML=item.innerHTML.replace(/\u7409\u7483\u795e\u793e/,"\u7409\u7483\u795e\u793e");
610+
item.innerHTML=item.innerHTML.replace(/\u7409\u7483\u795e\u793e/,"\u7409\u7483\u795e\u793e");
611611
});
612612
}
613613
var tags=document.querySelectorAll("article>footer>a");

HacgGodTurn/od.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)