Skip to content

Commit 72d6126

Browse files
committed
fix
1 parent 6206b35 commit 72d6126

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
// @include http*://www.htacg.cc/*
7878
// @include http*://sleazyfork.org/*/scripts/*
7979
// @include http*://greasyfork.org/*/scripts/*
80-
// @version 3.21.43
80+
// @version 3.21.45
8181
// @grant GM_notification
8282
// @grant GM_xmlhttpRequest
8383
// @grant GM_setClipboard
@@ -393,7 +393,10 @@
393393
if(document.body.innerHTML.indexOf("\u7409\u7483\u795e\u793e")!=-1){
394394
var installLink=document.querySelector("a.install-link");
395395
if(installLink){
396-
installLink.parentNode.insertBefore(document.createTextNode("\u8be5\u811a\u672c\u4e0e\u300a\u7409\u795e\u8f6c\u300b\u4e0d\u517c\u5bb9\u54e6"),installLink.nextSibling.nextSibling);
396+
var hgtSign=document.createElement("font");
397+
hgtSign.color="red";
398+
hgtSign.innerHTML=' <b>\u8be5\u811a\u672c\u4e0e\u300a\u7409\u795e\u8f6c\u300b\u4e0d\u517c\u5bb9\u54e6</b>';
399+
installLink.parentNode.insertBefore(hgtSign,installLink.nextSibling.nextSibling);
397400
}
398401
}
399402
}

0 commit comments

Comments
 (0)